diff options
-rwxr-xr-x | fullpkg | 1 | ||||
-rwxr-xr-x | toru-utils | 2 | ||||
-rwxr-xr-x | update-cleansystem | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -15,6 +15,7 @@ usage() { echo " -h : this message." echo "" echo "Wrapper for \`fullpkg-find' and \`fullpkg-build'" + echo "" exit 1 } @@ -7,7 +7,7 @@ source /etc/libretools.conf if [ ! -w "$TORUPATH" ]; then error "Toru's path isn't writable. Please check $TORUPATH" - exit 1 + exit 1 fi LASTSYNCFILE=${TORUPATH}/lastsync diff --git a/update-cleansystem b/update-cleansystem index dd3ff6c..97c2922 100755 --- a/update-cleansystem +++ b/update-cleansystem @@ -15,7 +15,7 @@ tmpdir=/tmp/cleansystem.${RANDOM} mkdir -p ${tmpdir}/var/lib/pacman # We sync first because updating info gets printed to stdout too -pacman -r ${tmpdir} --config /etc/pacman.conf -Sy +pacman -r ${tmpdir} --config /etc/pacman.conf -Sy 2>/dev/null pacman -r ${tmpdir} \ --config /etc/pacman.conf \ -Sp --print-format "%n" \ |