summaryrefslogtreecommitdiffstats
path: root/update_checker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_checker.sh')
-rwxr-xr-xupdate_checker.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/update_checker.sh b/update_checker.sh
index bee0543..a2c3e62 100755
--- a/update_checker.sh
+++ b/update_checker.sh
@@ -1,4 +1,17 @@
#!/bin/bash
+#----------------------------------------------------
+# File: update_checker.sh
+# Version: 0.1.0
+# Author: Florian "Bluewind" Pritz <f-p@gmx.at>
+#
+# Copyright (C) 2008-2009 Florian Pritz
+#
+# Licensed under GNU General Public License v3
+# (see COPYING for full license text)
+#
+#----------------------------------------------------
+# Shows if package updates are available
+#----------------------------------------------------
cmd="pacman -Qu"
pac_num=$($cmd | grep -o "Targets ([0-9]*)" | sed 's/Targets (//; s/)//')