mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
cinstall gre.d stuff
This commit is contained in:
parent
57b2e0bb4a
commit
f221aeb554
@ -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")
|
||||||
|
@ -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
|
||||||
@ -95,8 +95,8 @@ post_upgrade() {
|
|||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user