summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-06-22 13:39:37 -0400
committerDavid P <megver83@parabola.nu>2018-06-22 13:39:37 -0400
commit72c863f6a44c6da4e87540c0b32bccb0f563a395 (patch)
tree94a22fa07be93ec6270acd211430e54ba6ed0973
parent43ee3164ac96f828909d0df2c48402147acd8b4a (diff)
find-deprecated-pkgs: update usage
Signed-off-by: David P <megver83@parabola.nu>
-rwxr-xr-xfind-deprecated-pkgs7
1 files changed, 1 insertions, 6 deletions
diff --git a/find-deprecated-pkgs b/find-deprecated-pkgs
index de7bb36..8e6a435 100755
--- a/find-deprecated-pkgs
+++ b/find-deprecated-pkgs
@@ -71,12 +71,7 @@ The 'parabola' argument compares with our repositories and Arch's
since in blacklists like your-privacy and your-initfreedom we also block
some packages from [pcr] (like jitsi) and [libre] (like icedove), and
probably also from their -multilib, -testing and -multilib-testing derivatives.
-
-This program only takes one argument, meaning that (for example) if you run
-\`${0##*/} parabola arch' only 'parabola' is considered
EOM
-
-exit $STATUS
}
mkpkglist() {
@@ -129,7 +124,7 @@ check(){
esac
}
-if [[ -s $@ ]]; then
+if [[ $@ = "" ]]; then
usage
else
ip r | grep ^default | awk '{print $3}' |