aboutsummaryrefslogtreecommitdiff
path: root/apkg-foreign
diff options
context:
space:
mode:
Diffstat (limited to 'apkg-foreign')
-rwxr-xr-xapkg-foreign5
1 files changed, 5 insertions, 0 deletions
diff --git a/apkg-foreign b/apkg-foreign
index a412705..01c7d60 100755
--- a/apkg-foreign
+++ b/apkg-foreign
@@ -1,5 +1,10 @@
#!/bin/sh
+#
+# script to print foreign pkg
+# (package installed but not in repos)
for i in $(spm -a | awk '{print $1}'); do
[ $(apkg -p $i) ] || echo $i
done
+
+exit 0