summaryrefslogtreecommitdiffstats
path: root/update_checker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_checker.sh')
-rwxr-xr-xupdate_checker.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/update_checker.sh b/update_checker.sh
deleted file mode 100755
index d89266f..0000000
--- a/update_checker.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-#----------------------------------------------------
-# Version: 0.1.1.1
-# Author: Florian "Bluewind" Pritz <flo@xssn.at>
-#
-# Licensed under WTFPL v2
-# (see COPYING for full license text)
-#
-#----------------------------------------------------
-# Shows if package updates are available
-#----------------------------------------------------
-export LC_ALL=C
-cmd="pacman -Qu"
-pac_num=$($cmd | wc -l)
-#$cmd | grep "Total Download Size: .*MB" | grep -o "[0-9].*"
-
-if [ ! "$pac_num" ]; then
- pac_num=0
-fi
-
-if [ "$pac_num" -gt 0 ]; then
- echo "${HOSTNAME}: $pac_num"
-else
- echo "${HOSTNAME}: ok"
-fi