Fix incorrect trigger of umount
This commit is contained in:
parent
709d32977b
commit
aef5a9743e
2 changed files with 2 additions and 2 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
pkgname=garuda-common-settings
|
pkgname=garuda-common-settings
|
||||||
pkgver=2.6.3
|
pkgver=2.6.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
|
|
@ -11,7 +11,7 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_upgrade() {
|
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
|
umount /usr/share/libalpm/hooks/01-snapshot-reject.hook
|
||||||
# Not technically necessary
|
# Not technically necessary
|
||||||
ln -s /dev/null /etc/pacman.d/hooks/01-snapshot-reject.hook
|
ln -s /dev/null /etc/pacman.d/hooks/01-snapshot-reject.hook
|
||||||
|
|
Loading…
Reference in a new issue