aboutsummaryrefslogtreecommitdiffstats
path: root/bin/pacman-offline
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pacman-offline')
-rwxr-xr-xbin/pacman-offline6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline
index 8f86868..79eb1bd 100755
--- a/bin/pacman-offline
+++ b/bin/pacman-offline
@@ -5,12 +5,16 @@ set -e
function help() {
echo "usage: ${0} [OPTIONS]"
echo
+ echo ' -f force if other system-update is pending'
echo ' -h this help'
echo ' -y update sync databases'
}
-while getopts 'hy' opt; do
+while getopts 'fhy' opt; do
case ${opt} in
+ f)
+ rm -f /system-update
+ ;;
h)
help
exit 0