1
0
Fork 0
mirror of synced 2024-11-25 03:25:36 -05:00

Fix incorrect trigger of umount

This commit is contained in:
TNE 2022-05-14 18:45:11 +02:00
parent 709d32977b
commit aef5a9743e
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
pkgname=garuda-common-settings
pkgver=2.6.3
pkgrel=1
pkgrel=2
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL')

View file

@ -11,7 +11,7 @@ post_install() {
}
pre_upgrade() {
if [[ $(vercmp 2.6.3 $2) -gt 0 ]] && [[ $(vercmp 2.5.8 $2) -lt 0 ]]; then
if [[ $(vercmp 2.6.2 $2) -gt 0 ]] && [[ $(vercmp 2.5.8 $2) -lt 0 ]]; then
umount /usr/share/libalpm/hooks/01-snapshot-reject.hook
# Not technically necessary
ln -s /dev/null /etc/pacman.d/hooks/01-snapshot-reject.hook