cinstall gre.d stuff

This commit is contained in:
Drake Justice 2010-07-15 03:34:20 +00:00
parent 57b2e0bb4a
commit f221aeb554
2 changed files with 9 additions and 10 deletions

View File

@ -9,8 +9,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cinstall pkgname=cinstall
pkgver=20100713 pkgver=20100715
pkgrel=2 pkgrel=1
depends=('kdelibs' 'qt' 'squashfs-tools' 'xz-utils') depends=('kdelibs' 'qt' 'squashfs-tools' 'xz-utils')
pkgdesc="Drake Justice's Bundle Creator/Launcher and Package-Manager" pkgdesc="Drake Justice's Bundle Creator/Launcher and Package-Manager"
arch=("i686" "x86_64") arch=("i686" "x86_64")

View File

@ -43,8 +43,8 @@ post_install() {
fi fi
echo "change folder rights" echo "change folder rights"
chmod -R 775 /etc/gre.d mkdir /etc/gre.d
chown -R root:bundle /etc/gre.d chown -R $USER:bundle /etc/gre.d
echo "update mime-database" echo "update mime-database"
update-mime-database /usr/share/mime &>/dev/null update-mime-database /usr/share/mime &>/dev/null
@ -94,9 +94,9 @@ post_upgrade() {
echo "sudoers file already modded" echo "sudoers file already modded"
fi fi
echo "change folder rights" echo "change folder rights"
chmod -R 775 /etc/gre.d mkdir /etc/gre.d
chown -R root:bundle /etc/gre.d chown -R $USER:bundle /etc/gre.d
echo "update mime-database" echo "update mime-database"
update-mime-database /usr/share/mime &>/dev/null update-mime-database /usr/share/mime &>/dev/null
@ -111,9 +111,8 @@ post_remove() {
/usr/bin/chakra-update-icons /usr/bin/chakra-update-icons
fi fi
echo "restore folder rights" echo "Remove unused gre dir"
chmod -R 755 /etc/gre.d rm /etc/gre.d -r
chown -R root:root /etc/gre.d
else else
echo " > WARNING" echo " > WARNING"