From d1f39c5328a8a1c4f0846c047b1164d698f878cb Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 7 May 2024 12:31:15 -0500 Subject: Xsync: update scripts --- local/bin/xsync | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'local') diff --git a/local/bin/xsync b/local/bin/xsync index 576b733..fa90b24 100755 --- a/local/bin/xsync +++ b/local/bin/xsync @@ -18,7 +18,9 @@ echo $INSTALLED comm /tmp/xsync-spec /tmp/xsync-installed -23 > /tmp/xsync-to-install comm /tmp/xsync-spec /tmp/xsync-installed -13 > /tmp/xsync-to-remove +# You can add the -n flag to dry-run and see what will happen [ -s /tmp/xsync-to-remove ] && sudo xbps-remove $(cat /tmp/xsync-to-remove) || echo "Nothing to remove" -[ -s /tmp/xsync-to-install ] && sudo xbps-install $(cat /tmp/xsync-to-install) || echo "Nothing to install" +# You can add the -n flag to dry-run and see what will happen +[ -s /tmp/xsync-to-install ] && sudo xbps-install -S $(cat /tmp/xsync-to-install) || echo "Nothing to install" -- cgit v1.2.3