Git Repositories

gnsu is used in place of xsu wrapper.
authorCyrille Pontvieux <jrd@enialis.net>
Tue, 25 Feb 2014 20:13:50 +0000 (21:13 +0100)
committerCyrille Pontvieux <jrd@enialis.net>
Tue, 25 Feb 2014 20:13:50 +0000 (21:13 +0100)
data/bootsetup.desktop.in
install.sh
xsu [deleted file]

index e1a4eab..bce427c 100644 (file)
@@ -4,7 +4,7 @@ Encoding=UTF-8
 GenericName=BootSetup
 _Name=BootSetup
 _Comment=Install a bootloader, LiLo or Grub2
-Exec=xsu /usr/sbin/bootsetup
+Exec=gnsu /usr/sbin/bootsetup
 Icon=bootsetup
 Terminal=false
 StartupNotify=true
index c604d56..5ca91fa 100755 (executable)
@@ -14,7 +14,6 @@ os.chdir('src')
 from bootsetup import __version__
 print __version__,
 ")
-install -D -m 755 xsu $DESTDIR/usr/bin/xsu
 install -D -m 755 build/bootsetup $DESTDIR/usr/sbin/bootsetup
 install -D -m 644 build/bootsetup.desktop $DESTDIR/usr/share/applications/bootsetup.desktop
 for size in 24 64 128; do
diff --git a/xsu b/xsu
deleted file mode 100755 (executable)
index 162aaeb..0000000
--- a/xsu
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-if echo "$DESKTOP_SESSION" | grep -q kde && which kdesu >/dev/null 2>&1; then
-  kdesu "$@"
-else
-  gksu "$@"
-fi