diff options
| author | Jonathan Bauer | 2013-03-13 18:34:49 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-13 18:34:49 +0100 |
| commit | 8fae92a3f2c82882d25ea9d1d9c0d998c5b235de (patch) | |
| tree | 3c9df0397bc182a3f007c6ab9b60da80cd296e6f /helper | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-8fae92a3f2c82882d25ea9d1d9c0d998c5b235de.tar.gz tm-scripts-8fae92a3f2c82882d25ea9d1d9c0d998c5b235de.tar.xz tm-scripts-8fae92a3f2c82882d25ea9d1d9c0d998c5b235de.zip | |
fix bad config for policykit
Diffstat (limited to 'helper')
| -rw-r--r-- | helper/system.inc | 8 |
1 files changed, 2 insertions, 6 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." |
