summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormaz-12015-11-27 08:49:16 +0800
committermaz-12015-11-27 08:49:16 +0800
commita28984dbbea9995f1b22f9a93aee82ee7be4be96 (patch)
treece748703a5e54b6d0c7d54abb6d187b307b41e40
parent0b8466b772ae4c84d6e37b693a1b9e2f38dfed1b (diff)
downloadaur-a28984dbbea9995f1b22f9a93aee82ee7be4be96.tar.gz
fix
-rw-r--r--PKGBUILD6
-rwxr-xr-xucloner.desktop2
2 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7d5ea941fe8..0f2b7d725e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,10 @@ pkgdesc="UCloner is a backup/restore/clone tool. Modified for Arch Linux"
arch=('any')
url="https://code.google.com/p/ucloner"
license=('GPL')
-depends=('pygtk' 'vte' 'squashfs-tools' 'zenity' 'rsync')
+depends=('pygtk' 'vte' 'squashfs-tools' 'zenity' 'rsync' 'polkit')
optdepends=('jfsutils: Create jfs file system in ucloner.'
'reiserfsprogs: Create reiserfs file system in ucloner.'
- 'xfsprogs: Create xfs file system in ucloner.'
- 'gksu: Access ucloner from application menu under GTK-base DE'
- 'kdesu: Access ucloner from application menu under KDE')
+ 'xfsprogs: Create xfs file system in ucloner.')
source=(
'https://ucloner.googlecode.com/files/UCloner-10.10.2-beta1.tar.gz'
'ucloner.sh'
diff --git a/ucloner.desktop b/ucloner.desktop
index 8b52f104d8a..84f04c27267 100755
--- a/ucloner.desktop
+++ b/ucloner.desktop
@@ -2,7 +2,7 @@
Categories=Utility;
Comment[zh_CN]=Linux系统备份工具
Comment=Linux system backup utility
-Exec=[ -f /usr/bin/gksu ] && exec gksu ucloner || exec kdesu ucloner
+Exec=pkexec ucloner
GenericName[zh_CN]=
GenericName=
Icon=ucloner