mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-12 09:33:37 +02:00
2021-05-31 Fred Gleason <fredg@paravelsystems.com>
* Refactored the distribution detection logic in 'configure.ac' to work on the basis of 'distribution type'. * Added desktop entries for rdalsaconfig(8) and rddbconfig(8) that use sudo(8) for privilege escalation. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
##
|
||||
## xdg/automake.am for Rivendell
|
||||
##
|
||||
## (C) Copyright 2002-2005 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License version 2 as
|
||||
@@ -48,11 +48,10 @@ install-exec-am:
|
||||
mkdir -p $(DESTDIR)/etc/security/console.apps
|
||||
cp rdalsaconfig-root-consolehelper $(DESTDIR)/etc/security/console.apps/rdalsaconfig-root
|
||||
cp rddbconfig-root-consolehelper $(DESTDIR)/etc/security/console.apps/rddbconfig-root
|
||||
cp rivendell-rdalsaconfig-root.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp rivendell-rddbconfig-root.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
cp @RDALSACONFIG_DESKTOP_FILE@ $(DESTDIR)@prefix@/share/applications/rivendell-rdalsaconfig.desktop
|
||||
cp @RDDBCONFIG_DESKTOP_FILE@ $(DESTDIR)@prefix@/share/applications/rivendell-rddbconfig.desktop
|
||||
rm -f $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
|
||||
ln -s /usr/bin/consolehelper $(DESTDIR)$(prefix)/bin/rdalsaconfig-root
|
||||
cp rivendell-rddbconfig-root.desktop $(DESTDIR)@prefix@/share/applications/
|
||||
rm -f $(DESTDIR)$(prefix)/bin/rddbconfig-root
|
||||
ln -s /usr/bin/consolehelper $(DESTDIR)$(prefix)/bin/rddbconfig-root
|
||||
|
||||
|
Reference in New Issue
Block a user