Compare commits
4 Commits
master
...
b01b384d4a
| Author | SHA1 | Date | |
|---|---|---|---|
| b01b384d4a | |||
| bb7ae8514c | |||
| bb8b4d1b71 | |||
| ad8e40b78e |
@@ -12,20 +12,10 @@ users:
|
|||||||
extensions:
|
extensions:
|
||||||
- ublock-origin
|
- ublock-origin
|
||||||
- passff
|
- passff
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
- tree-style-tab
|
||||||
- i-dont-care-about-cookies
|
- i-dont-care-about-cookies
|
||||||
- floccus
|
- floccus
|
||||||
manage_css: true
|
manage_css: true
|
||||||
media:
|
|
||||||
extensions:
|
|
||||||
- ublock-origin
|
|
||||||
- passff
|
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
|
||||||
- i-dont-care-about-cookies
|
|
||||||
manage_css: true
|
|
||||||
bigger_font: true
|
|
||||||
mail: hannes@hkoerber.de
|
mail: hannes@hkoerber.de
|
||||||
ssh_agent: false
|
ssh_agent: false
|
||||||
gpg_agent: true
|
gpg_agent: true
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ users:
|
|||||||
extensions:
|
extensions:
|
||||||
- ublock-origin
|
- ublock-origin
|
||||||
- passff
|
- passff
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
- tree-style-tab
|
||||||
- i-dont-care-about-cookies
|
- i-dont-care-about-cookies
|
||||||
- floccus
|
- floccus
|
||||||
@@ -21,7 +20,6 @@ users:
|
|||||||
extensions:
|
extensions:
|
||||||
- ublock-origin
|
- ublock-origin
|
||||||
- passff
|
- passff
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
- tree-style-tab
|
||||||
- i-dont-care-about-cookies
|
- i-dont-care-about-cookies
|
||||||
manage_css: true
|
manage_css: true
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ users:
|
|||||||
extensions:
|
extensions:
|
||||||
- ublock-origin
|
- ublock-origin
|
||||||
- passff
|
- passff
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
- tree-style-tab
|
||||||
- i-dont-care-about-cookies
|
- i-dont-care-about-cookies
|
||||||
- floccus
|
- floccus
|
||||||
@@ -36,7 +35,6 @@ users:
|
|||||||
extensions:
|
extensions:
|
||||||
- ublock-origin
|
- ublock-origin
|
||||||
- passff
|
- passff
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
- tree-style-tab
|
||||||
- i-dont-care-about-cookies
|
- i-dont-care-about-cookies
|
||||||
manage_css: true
|
manage_css: true
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ users:
|
|||||||
default:
|
default:
|
||||||
extensions:
|
extensions:
|
||||||
- ublock-origin
|
- ublock-origin
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
- tree-style-tab
|
||||||
- i-dont-care-about-cookies
|
- i-dont-care-about-cookies
|
||||||
manage_css: true
|
manage_css: true
|
||||||
@@ -34,7 +33,6 @@ users:
|
|||||||
extensions:
|
extensions:
|
||||||
- ublock-origin
|
- ublock-origin
|
||||||
- passff
|
- passff
|
||||||
- privacy-badger17
|
|
||||||
- tree-style-tab
|
- tree-style-tab
|
||||||
- i-dont-care-about-cookies
|
- i-dont-care-about-cookies
|
||||||
- floccus
|
- floccus
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ font-libertine:
|
|||||||
- libertinus-font
|
- libertinus-font
|
||||||
font-awesome:
|
font-awesome:
|
||||||
archlinux:
|
archlinux:
|
||||||
- ttf-font-awesome
|
- woff2-font-awesome
|
||||||
font-noto:
|
font-noto:
|
||||||
archlinux:
|
archlinux:
|
||||||
- noto-fonts
|
- noto-fonts
|
||||||
|
|||||||
@@ -62,12 +62,29 @@ readarray -d $'\0' -t packages_to_remove < <(comm --zero-terminated -13 \
|
|||||||
printf '%s\0' "${package}"
|
printf '%s\0' "${package}"
|
||||||
done)
|
done)
|
||||||
|
|
||||||
|
packages_removed=0
|
||||||
|
|
||||||
if (( "${#packages_to_remove[@]}" > 0 )) ; then
|
if (( "${#packages_to_remove[@]}" > 0 )) ; then
|
||||||
echo "found the following explicitly installed packages that are not configured:"
|
echo "found the following explicitly installed packages that are not configured:"
|
||||||
for pkg in "${packages_to_remove[@]}" ; do
|
for pkg in "${packages_to_remove[@]}" ; do
|
||||||
echo "${pkg}"
|
echo "${pkg}"
|
||||||
done
|
done
|
||||||
sudo pacman -Rcns "${packages_to_remove[@]}" "${@}" || exit $?
|
sudo pacman -Rcns "${packages_to_remove[@]}" "${@}" || exit $?
|
||||||
|
packages_removed=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
readarray -t orphans < <(pacman -Qdtq)
|
||||||
|
|
||||||
|
if (( "${#orphans[@]}" > 0 )) ; then
|
||||||
|
echo "found the following orphaned packages:"
|
||||||
|
for pkg in "${orphans[@]}" ; do
|
||||||
|
echo "${pkg}"
|
||||||
|
done
|
||||||
|
sudo pacman -Rcns "${orphans[@]}" "${@}" || exit $?
|
||||||
|
packages_removed=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if (( packages_removed)) ; then
|
||||||
exit 123
|
exit 123
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user