commit 3bfa15b40fe65de8cce10b5baef954d4f1c7102e parent 087e16397f859fea6597c15ff2743c1b9e809b10 Author: clamiax <smoppy@gmail.com> Date: Fri, 3 Apr 2015 23:36:30 +0200 Show usage if no flags Diffstat:
M | pkgsetup | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgsetup b/pkgsetup @@ -267,7 +267,7 @@ If unsure, reinstall the whole framework with the following command: $0 -di [ $update -gt 0 ] && do_update && opdo=$(echo $opdo+1|bc) [ $cleanup -gt 0 ] && do_cleanup && opdo=$(echo $opdo+1|bc) - [ $opdo -gt 0 ] && echo "All done ($opdo of 5 phases)." + [ $opdo -gt 0 ] && echo "All done ($opdo of 5 phases)." || usage } main "$@"