Browse Source

just create the dir

master v3.5.5
Jack L. Frost 6 years ago
parent
commit
df42e43a49
  1. 14
      prm

14
prm

@ -284,6 +284,13 @@ main() {
return 1
}
[[ -d "$cfg_workdir" ]] || {
mkdir -p "$cfg_workdir" || {
err "Can't create workdir: %s\n" "$cfg_workdir"
return 1
}
}
case "$action" in
(get)
[[ "$package" ]] || {
@ -291,13 +298,6 @@ main() {
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" )
if (( ! "$?" )); then

Loading…
Cancel
Save