just create the dir

This commit is contained in:
Jack L. Frost 2016-04-01 13:19:52 +03:00
parent 7fedda7342
commit fbf58b22f9

14
prm
View File

@ -284,13 +284,6 @@ main() {
return 1
}
case "$action" in
(get)
[[ "$package" ]] || {
usage
return 1
}
[[ -d "$cfg_workdir" ]] || {
mkdir -p "$cfg_workdir" || {
err "Can't create workdir: %s\n" "$cfg_workdir"
@ -298,6 +291,13 @@ main() {
}
}
case "$action" in
(get)
[[ "$package" ]] || {
usage
return 1
}
pkg_aur_info=$( aur.info "$package" )
if (( ! "$?" )); then