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
pkgname=cinstall
pkgver=20100713
pkgrel=2
pkgver=20100715
pkgrel=1
depends=('kdelibs' 'qt' 'squashfs-tools' 'xz-utils')
pkgdesc="Drake Justice's Bundle Creator/Launcher and Package-Manager"
arch=("i686" "x86_64")

View File

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