# 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" ;;
if [ $ignorelibdeps -eq 1 ]; then
merge=$(zpm search -iIO $search)
+ # TODO search for libs anyway and put a note for non-installed
+ # library deps
else
merge=$(zpm search -iIO -l $search)
fi
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
if [ $verbose -gt 0 ]; then
syncopts="${syncopts} -v"
-else
- # force -v during development
- syncopts="${syncopts} -v"
fi
+#else
+ # force -v during development
+ #syncopts="${syncopts} -v"
+#fi
if [ $dryrun -eq 0 ] && [ $backup -eq 1 ]; then
true