aboutsummaryrefslogtreecommitdiff
path: root/repos/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'repos/update.sh')
-rwxr-xr-xrepos/update.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/repos/update.sh b/repos/update.sh
new file mode 100755
index 00000000..49c93acf
--- /dev/null
+++ b/repos/update.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+for i in $(awk '{print $1}' outdate.list); do
+ [ -d $i ] || continue
+ nv=$(grep ^"$i " outdate.list | awk '{print $2}')
+ ov=$(grep ^"$i " outdate.list | awk '{print $3}')
+ read -p "Update $i $ov to $nv " aaa
+ case $aaa in
+ n|N|no|NO|No|nO) continue;;
+ *) ./pkgup.sh $i $nv;;
+ esac
+done