diff options
-rwxr-xr-x | abs/core/LinHES-config/PKGBUILD | 2 | ||||
-rw-r--r-- | abs/core/LinHES-config/config.install | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD index 23d3057..4a891db 100755 --- a/abs/core/LinHES-config/PKGBUILD +++ b/abs/core/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=8.1 -pkgrel=17 +pkgrel=18 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config ) pkgdesc="Install and configure your system" depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted' diff --git a/abs/core/LinHES-config/config.install b/abs/core/LinHES-config/config.install index 4c99e03..0b7060e 100644 --- a/abs/core/LinHES-config/config.install +++ b/abs/core/LinHES-config/config.install @@ -21,7 +21,7 @@ post_install() { # arg 1: the new package version # arg 2: the old package version pre_upgrade() { - /bin/true + /usr/bin/true } # arg 1: the new package version @@ -41,16 +41,21 @@ post_upgrade() { fi /usr/MythVantage/bin/systemconfig.py -m locale + echo " Removing pts and shm from fstab..." + cp -a /etc/fstab /etc/fstab.backup.pre_pts_shm + sed -i '/\/dev\/pts/d' /etc/fstab + sed -i '/\/dev\/shm/d' /etc/fstab + } # arg 1: the old package version pre_remove() { - /bin/true + /usr/bin/true } # arg 1: the old package version post_remove() { - /bin/true + /usr/bin/true } op=$1 |