summaryrefslogtreecommitdiff
path: root/find-deprecated-pkgs
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2019-02-23 19:51:24 -0300
committerDavid P <megver83@parabola.nu>2019-02-23 19:52:08 -0300
commit05b81ab38e24db3efce60d5bd4c6206b7ac53474 (patch)
treec26c336735a959e25edeb7959f84d6e656f1435c /find-deprecated-pkgs
parent5ecdb12c10d6ae50e33ef176c051d5c234abd484 (diff)
blacklist.txt: add acpi_call-dkms and libsynctex
libsynctex is a split pkg from texlive-bin also improve find-deprecated-pkgs a bit Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'find-deprecated-pkgs')
-rwxr-xr-xfind-deprecated-pkgs6
1 files changed, 3 insertions, 3 deletions
diff --git a/find-deprecated-pkgs b/find-deprecated-pkgs
index 24c63b3..841045f 100755
--- a/find-deprecated-pkgs
+++ b/find-deprecated-pkgs
@@ -270,10 +270,10 @@ check(){
msg 'done'
}
-if [[ $@ = "" ]]; then
- usage
-else
+if [[ ${#@} -gt 0 ]]; then
ip r | grep ^default | awk '{print $3}' |
ping -q -w1 -c1 $(tail -n1 /dev/stdin) &> /dev/null || err 'You must have internet connection to run this program'
for arg in $@; do check $arg; done
+else
+ usage
fi