summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--helper/system.inc8
-rw-r--r--remote/tools/policykit/policykit.conf5
2 files changed, 3 insertions, 10 deletions
diff --git a/helper/system.inc b/helper/system.inc
index b7d13416..1245687b 100644
--- a/helper/system.inc
+++ b/helper/system.inc
@@ -3,12 +3,8 @@
#
# determine architecture triplet from the path of libc needed by the executing shell.
ARCH_TRIPLET=$(ldd $SHELL|grep libc | awk -F "/" '{print $3}')
-[ ! -z $ARCH_TRIPLET ] && pinfo "Arch triplet of this machine: $ARCH_TRIPLET" \
- || pwarning "Could not determine arch triplet."
+[ ! -z $ARCH_TRIPLET ] || pwarning "Could not determine arch triplet."
# determine kernel version
KERNEL_VERSION=$(uname -r)
-[ ! -z $KERNEL_VERSION ] && pinfo "Kernel version: $KERNEL_VERSION" \
- || pwarning "Could not determine kernel version."
-
-
+[ ! -z $KERNEL_VERSION ] || pwarning "Could not determine kernel version."
diff --git a/remote/tools/policykit/policykit.conf b/remote/tools/policykit/policykit.conf
index cb16bc79..3dcfd8d9 100644
--- a/remote/tools/policykit/policykit.conf
+++ b/remote/tools/policykit/policykit.conf
@@ -1,5 +1,3 @@
-VERSION=polkit-0.110
-URL=http://www.freedesktop.org/software/polkit/releases/polkit-0.110.tar.gz
REQUIRED_DEPENDENCIES="libmozjs185-1.0"
REQUIRED_PACKAGES="libmozjs185-1.0 policykit-1"
REQUIRED_BINARIES=""
@@ -8,7 +6,6 @@ REQUIRED_DIRECTORIES=" /etc/pam.d /etc/dbus-1 /etc/polkit-1
/usr/share/dbus-1
/usr/share/polkit-1
/usr/lib/policykit-1
- /usr/lib/i386-linux-gnu/polkit-1
- /lib/systemd/system"
+ /usr/lib/${ARCH_TRIPLET}/polkit-1"
REQUIRED_FILES=""
REQUIRED_LIBRARIES="libmozjs185"