|
|
@ -11,6 +11,7 @@
|
|
|
|
function die {
|
|
|
|
function die {
|
|
|
|
local ret=$?
|
|
|
|
local ret=$?
|
|
|
|
print -P " %F{red}%1x: %F{yellow}%U%I%u:%f $argv" >&2
|
|
|
|
print -P " %F{red}%1x: %F{yellow}%U%I%u:%f $argv" >&2
|
|
|
|
|
|
|
|
popd -q
|
|
|
|
return $ret
|
|
|
|
return $ret
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -28,7 +29,6 @@ if [[ -f $profile/.unpacked ]] {
|
|
|
|
mv -f $profile{,.old}$ext
|
|
|
|
mv -f $profile{,.old}$ext
|
|
|
|
if (( $? )) {
|
|
|
|
if (( $? )) {
|
|
|
|
die "failed to override the old tarball"
|
|
|
|
die "failed to override the old tarball"
|
|
|
|
popd -q
|
|
|
|
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|