aboutsummaryrefslogtreecommitdiff
path: root/scripts/util/sp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/util/sp.sh')
-rwxr-xr-xscripts/util/sp.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/util/sp.sh b/scripts/util/sp.sh
new file mode 100755
index 0000000..b4ce819
--- /dev/null
+++ b/scripts/util/sp.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# pacman wrapper
+
+case $* in
+ -Syu ) sudo pacman -Syu
+ echo 0 > ~/.local/share/updates.txt ;;
+ -Syyu ) sudo pacman -Syyu
+ echo 0 > ~/.local/share/updates.txt ;;
+ * ) sudo pacman ;;
+esac