# TODO option to attempt to resume an ongoing install
# zpm-install [-SCn] [ -d localdb ] [ -f pkgfile ] [ -R installroot ] pkgstr ...
-while getopts f:d:R:nSCvAObBLUzp opt; do
+while getopts f:d:R:nSCvAObBLUzpl opt; do
case $opt in
f) pkgfile="$OPTARG" ;;
d) localdb="$OPTARG" ;;
nlist="$nlist $pkgid:$zpmfile"
continue
else
- echo downloading $zpmfile
zpm repo fetch $reponame $pkgid
if [ -f "$zpmfile" ]; then
nlist="$nlist $pkgid:$zpmfile"
# TODO check for symlinks?
if [ $pkgfile != $ZPMDB ]; then
echo merging $pkgfile $pkgid
- zpm merge -Fuv -f "$pkgfile" $pkgid
+ zpm merge -Fu -f "$pkgfile" $pkgid
if [ $? -ne 0 ]; then
die "unable to merge $pkgfile"
fi