summaryrefslogtreecommitdiffstats
path: root/update_checker.sh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-02-24 19:46:00 +0100
committerFlorian Pritz <f-p@gmx.at>2009-02-24 19:46:00 +0100
commitf129bf7a7bad968939838d8efbd7cd878cf58257 (patch)
tree71f5e73f3fcca73e50fafc1b4f647f7bd3f402fb /update_checker.sh
parentc77adbb09670a5261b317a4cdfa41255019e896b (diff)
downloadbin-f129bf7a7bad968939838d8efbd7cd878cf58257.tar.gz
bin-f129bf7a7bad968939838d8efbd7cd878cf58257.tar.xz
standardized file headers and added COPYING
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/)//')