Fix incorrect trigger of umount

merge-requests/5/head
TNE 7 months ago
parent 709d32977b
commit aef5a9743e
  1. 2
      PKGBUILD
  2. 2
      garuda-common-settings.install

@ -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')

@ -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

Loading…
Cancel
Save