diff options
| -rw-r--r-- | etc/pacman.d/hooks/orphans.hook | 1 | ||||
| -rw-r--r-- | etc2/xdg/reflector/reflector.conf | 32 | ||||
| -rwxr-xr-x | home/.local/bin/curlfire | 29 |
3 files changed, 0 insertions, 62 deletions
diff --git a/etc/pacman.d/hooks/orphans.hook b/etc/pacman.d/hooks/orphans.hook index 48c1d8d..aae9148 100644 --- a/etc/pacman.d/hooks/orphans.hook +++ b/etc/pacman.d/hooks/orphans.hook @@ -9,4 +9,3 @@ Target = * Description = Searching for orphaned packages... When = PostTransaction Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '==> no orphans found.'" -#Exec = /usr/bin/bash -c "[[ if $(/usr/bin/pacman -Qtdq) = 0 ]] && /usr/bin/pacman -Rns $(/usr/bin/pacman -Qtdq) || /usr/bin/echo '==> No orphaned packages found.'" diff --git a/etc2/xdg/reflector/reflector.conf b/etc2/xdg/reflector/reflector.conf index 64767b9..a5dd94d 100644 --- a/etc2/xdg/reflector/reflector.conf +++ b/etc2/xdg/reflector/reflector.conf @@ -1,39 +1,7 @@ -# Reflector configuration file for the systemd service. -# -# Empty lines and lines beginning with "#" are ignored. All other lines should -# contain valid reflector command-line arguments. The lines are parsed with -# Python's shlex modules so standard shell syntax should work. All arguments are -# collected into a single argument list. -# -# See "reflector --help" for details. - -# Recommended Options - -# Set the output path where the mirrorlist will be saved (--save). --save /etc/pacman.d/mirrorlist - -# Select the transfer protocol (--protocol). -# --protocol https - -# Select the country (--country). -# Consult the list of available countries with "reflector --list-countries" and -# select the countries nearest to you or the ones that you trust. For example: --country Spain,Portugal,France,Switzerland,Germany,Netherlands - -# Use only the most recently synchronized mirrors (--latest). -# --latest 12 - -# Sort the mirrors by synchronization time (--sort). -# --sort age - --age 12 - --completion-percent 100 - --sort score - -#--connection-timeout 2 - --fastest 10 - --threads 12 diff --git a/home/.local/bin/curlfire b/home/.local/bin/curlfire deleted file mode 100755 index 33e1590..0000000 --- a/home/.local/bin/curlfire +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -set -o errexit -set -o nounset -set -o pipefail - -profile=default-default -skip= -args=() -for var in "$@"; do - # Ignore known bad arguments - case "$var" in - -P) - skip=yes - ;; - *) - if [ -z "$skip" ]; then - args+=("$var") - else - profile=$var - fi; - skip= - esac; -done - - -curlcookies="$(mktemp /tmp/curlcookies.XXXXXXXXXX)" -cookiefire "$profile" > "$curlcookies" -curl -b "$curlcookies" "${args[@]}" ; |
