summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2023-11-23 08:42:59 +0000
committerXiao Pan <gky44px1999@gmail.com>2023-11-23 08:42:59 +0000
commit7a9f39a07f53a02946c7f66360b8f5e806604aba (patch)
tree783c368f326cb8090de21935fc49533b28c5a6ae /home
parenta5e171f818bffcbdb2ce99a9aa673bbb55e6ac78 (diff)
swtich from external HDD backup to studio server bakcup
Diffstat (limited to 'home')
-rwxr-xr-xhome/xyz/.local/bin/upd8
1 files changed, 1 insertions, 7 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 4552db43..92e5e478 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -3,7 +3,6 @@
all () {
fast
clean
- usb
refl
}
@@ -53,14 +52,10 @@ refl () {
sudo reflector --verbose --save /etc/pacman.d/mirrorlist --country us --protocol https --delay 1 --latest 25 --score 25 --fastest 10
}
-usb () {
- cfg -s push
-}
-
if [ $# -eq 0 ]; then
fast
else
- while getopts acfmpru opt; do
+ while getopts acfmpr opt; do
case $opt in
a)all;;
c)clean;;
@@ -68,7 +63,6 @@ else
m)misc;;
p)pac;;
r)refl;;
- u)usb;;
\?)exit 1;;
esac
done