From 562d7c77072b14a4db68926ce6c8ac3753a1bad0 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Fri, 21 Dec 2018 02:15:29 +0000 Subject: [PATCH] add -p option to update to pass through to syncfs --- zpm-update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zpm-update b/zpm-update index c3c65ed..dbec8b0 100755 --- a/zpm-update +++ b/zpm-update @@ -109,7 +109,7 @@ uninstall=0 # TODO option to attempt to resume an ongoing install # zpm-install [-SCn] [ -d localdb ] [ -f pkgfile ] [ -R installroot ] pkgstr ... -while getopts f:d:R:nSCvAObBLUz opt; do +while getopts f:d:R:nSCvAObBLUzp opt; do case $opt in f) pkgfile="$OPTARG" ;; d) localdb="$OPTARG" ;; @@ -128,6 +128,7 @@ while getopts f:d:R:nSCvAObBLUz opt; do l) justlist=1 ;; U) uninstall=1 ;; z) pullrepos=0 ;; + p) syncopts="$syncopts -p" ;; *) die "usage ..." ;; esac done -- 2.40.0