summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlocal/bin/xsync4
1 files changed, 2 insertions, 2 deletions
diff --git a/local/bin/xsync b/local/bin/xsync
index c6108ae..e8c0578 100755
--- a/local/bin/xsync
+++ b/local/bin/xsync
@@ -21,8 +21,8 @@ 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-remove ] && doas xbps-remove $(cat /tmp/xsync-to-remove) || echo "Nothing to remove"
# 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"
+[ -s /tmp/xsync-to-install ] && doas xbps-install -S $(cat /tmp/xsync-to-install) || echo "Nothing to install"