just create the dir
This commit is contained in:
parent
7fedda7342
commit
df42e43a49
14
prm
14
prm
|
@ -284,6 +284,13 @@ main() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[ -d "$cfg_workdir" ]] || {
|
||||||
|
mkdir -p "$cfg_workdir" || {
|
||||||
|
err "Can't create workdir: %s\n" "$cfg_workdir"
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
case "$action" in
|
case "$action" in
|
||||||
(get)
|
(get)
|
||||||
[[ "$package" ]] || {
|
[[ "$package" ]] || {
|
||||||
|
@ -291,13 +298,6 @@ main() {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ -d "$cfg_workdir" ]] || {
|
|
||||||
mkdir -p "$cfg_workdir" || {
|
|
||||||
err "Can't create workdir: %s\n" "$cfg_workdir"
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_aur_info=$( aur.info "$package" )
|
pkg_aur_info=$( aur.info "$package" )
|
||||||
|
|
||||||
if (( ! "$?" )); then
|
if (( ! "$?" )); then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user