diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 00:44:39 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 00:44:39 -0500 |
commit | 7f118f53283d7e228c40a40076815ce94ebb94a7 (patch) | |
tree | e7b70c0f9f297edc42a1333b38e6e06357edcdd8 /aur | |
parent | 0fa9894cbc10f0742c3076666524956f7279e8af (diff) |
Cleaned up some things, added option parse to some scripts.
Diffstat (limited to 'aur')
-rwxr-xr-x | aur | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -3,6 +3,20 @@ source /etc/libretools.conf source /etc/abs.conf +function usage { + echo "Usage: $0 pkgname-from-aur1 [pkgname-from-aur2 ...]" + echo + echo "This script will download packages from aur to the current dir" + echo "and check their license for nonfree issues." +} + +while getopts 'h' arg; do + case $arg in + h) usage; exit 0 ;; + *) usage; exit 1 ;; + esac +done + missing_deps=() for _pkg in ${@}; do msg "Downloading $_pkg..." |