commit b96a361cefd5d75f8801060670d51e5ecedb8c36
parent 6c06359d1722a535599d7ffc5ef4804be0c07032
Author: andersuno <anders.hedman01@gmail.com>
Date: Fri, 17 Jan 2020 02:56:35 +0100
Fixed POSIX compliance
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/keepasssync.sh b/keepasssync.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#ENV variable for my notify-send when ran as cronjob
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
diff --git a/pacmanupdates.sh b/pacmanupdates.sh
@@ -11,7 +11,7 @@ output=$($cmd -Quq | wc -l)
if [ "$1" = "-a" ]; then
nonaur=$(sudo pacman -Quq | wc -l)
- output=$(("$output" - "$nonaur"))
+ output=$((output-nonaur))
output="📦AUR:$output"
else
output="📦:$output"