summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-12 20:30:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-12 20:30:35 (GMT)
commit7b9062c07f9dfdaa08858820774207a12ac9324b (patch)
treedcac809f37af4bfca61693defb3eb9763418686b /abs/core
parentaf658fc3757d37b3b3ceff716f05571db5250cf7 (diff)
downloadlinhes_pkgbuild-7b9062c07f9dfdaa08858820774207a12ac9324b.zip
linhes_pkgbuild-7b9062c07f9dfdaa08858820774207a12ac9324b.tar.gz
linhes_pkgbuild-7b9062c07f9dfdaa08858820774207a12ac9324b.tar.bz2
LinHES-config: in .install remove pts and shm from fstab
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/LinHES-config/PKGBUILD2
-rw-r--r--abs/core/LinHES-config/config.install11
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