just create the dir
This commit is contained in:
parent
7fedda7342
commit
fbf58b22f9
14
prm
14
prm
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user