blob: 0517e71e3976d24221c6859b33688c11acd37e44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
post_install() {
printf "$(tput setaf 1)$(tput bold) ==> WARNING: $(tput sgr0)"
echo "List of packages which are linked against legacy xfconf (4.12.x)"
echo "Please rebuild manually."
echo "pacman -Sb <package>"
while read pkg; do
mapfile -t files < <(pacman -Qlq $pkg | grep -v /$)
grep -Fq 'libxfconf-0.so.2' "${files[@]}" <&- 2>/dev/null && echo " >> $pkg"
done < <(pacman -Qq | grep -E '(^(xf|libxfce|garcon|tumbler|mousepad|orage|thunar)|xfce|xfwm)' )
}
post_upgrade() {
post_install
}
post_remove() {
printf "$(tput setaf 1)$(tput bold) ==> WARNING: $(tput sgr0)"
echo "Packages linked against uninstalled version of xfconf:"
echo "If you are reverting to xfconf 4.12.x reinstall or rebuild packages in this list"
while read pkg; do
mapfile -t files < <(pacman -Qlq $pkg | grep -v /$)
grep -Fq 'libxfconf-0.so.3' "${files[@]}" <&- 2>/dev/null && echo " >> $pkg"
done < <(pacman -Qq | grep -E '(^(xf|libxfce|garcon|tumbler|mousepad|orage|thunar)|xfce|xfwm)' )
}
|