summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz')
-rwxr-xr-xhome/xyz/.local/bin/upd24
1 files changed, 12 insertions, 12 deletions
diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd
index 43d317a5..23300878 100755
--- a/home/xyz/.local/bin/upd
+++ b/home/xyz/.local/bin/upd
@@ -5,7 +5,7 @@ all () {
userjs
clean
#qb
- refl
+ #refl
usb
#xmr
}
@@ -84,15 +84,15 @@ checkrebuild: $(checkrebuild | awk '$2!="zoom"{printf("%s ",$2)}')
# curlqb "$HOME/programs/qbittorrent_search_plugins/"
#}
-refl () {
- # why not use http:
- # https://www.reddit.com/r/archlinux/comments/kx149z/should_i_use_http_mirrors/
- # https://www.reddit.com/r/archlinux/comments/ej4k4d/is_it_safe_to_use_not_secured_http_pacman_mirrors/
- # rsync may need to change XferCommand in /etc/pacman.conf
- # https://www.reddit.com/r/archlinux/comments/mynw6e/rsync_mirrors_with_pacman/
- # need --delay so no super out of sync mirrors
- sudo reflector --verbose --save /etc/pacman.d/mirrorlist --country us --protocol https --delay 1 --latest 25 --score 25 --fastest 10
-}
+#refl () {
+# # why not use http:
+# # https://www.reddit.com/r/archlinux/comments/kx149z/should_i_use_http_mirrors/
+# # https://www.reddit.com/r/archlinux/comments/ej4k4d/is_it_safe_to_use_not_secured_http_pacman_mirrors/
+# # rsync may need to change XferCommand in /etc/pacman.conf
+# # https://www.reddit.com/r/archlinux/comments/mynw6e/rsync_mirrors_with_pacman/
+# # need --delay so no super out of sync mirrors
+# sudo reflector --verbose --save /etc/pacman.d/mirrorlist --country us --protocol https --delay 1 --latest 25 --score 25 --fastest 10
+#}
usb () {
cfg -l push usb
@@ -119,7 +119,7 @@ usb () {
if [ $# -eq 0 ]; then
fast
else
- while getopts acfjmpru opt; do
+ while getopts acfjmpu opt; do
case $opt in
a)all;;
c)clean;;
@@ -128,7 +128,7 @@ else
m)misc;;
p)pac;;
#q)qb;;
- r)refl;;
+ #r)refl;;
u)usb;;
#x)xmr;;
\?)exit 1;;