mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
update cinstall
This commit is contained in:
parent
b05abf289a
commit
16752a63f9
@ -9,10 +9,10 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=cinstall
|
||||
pkgver=20100719
|
||||
pkgver=20100720
|
||||
pkgrel=1
|
||||
depends=('kdelibs' 'qt' 'squashfs-tools' 'xz-utils')
|
||||
pkgdesc="Drake Justice's Bundle Creator/Launcher and Package-Manager"
|
||||
pkgdesc="Bundle Creator/Launcher and Package-Manager"
|
||||
arch=("i686" "x86_64")
|
||||
license=('GPL')
|
||||
install=$pkgname.install
|
||||
|
@ -42,8 +42,13 @@ post_install() {
|
||||
echo "sudoers file already modded"
|
||||
fi
|
||||
|
||||
mkdir /etc/gre.d &>/dev/null
|
||||
chmod 775 /etc/gre.d &>/dev/null
|
||||
chown -R root:bundle /etc/gre.d &>/dev/null
|
||||
|
||||
mkdir /etc/cb.conf.d &>/dev/null
|
||||
chown -R $USER:bundle /etc/cb.conf.d &>/dev/null
|
||||
chmod 775 /etc/cb.conf.d &>/dev/null
|
||||
chown -R root:bundle /etc/cb.conf.d &>/dev/null
|
||||
|
||||
echo "update mime-database"
|
||||
update-mime-database /usr/share/mime &>/dev/null
|
||||
@ -93,8 +98,13 @@ post_upgrade() {
|
||||
echo "sudoers file already modded"
|
||||
fi
|
||||
|
||||
mkdir /etc/gre.d &>/dev/null
|
||||
chmod 775 /etc/gre.d &>/dev/null
|
||||
chown -R root:bundle /etc/gre.d &>/dev/null
|
||||
|
||||
mkdir /etc/cb.conf.d &>/dev/null
|
||||
chown -R $USER:bundle /etc/cb.conf.d &>/dev/null
|
||||
chmod 775 /etc/cb.conf.d &>/dev/null
|
||||
chown -R root:bundle /etc/cb.conf.d &>/dev/null
|
||||
|
||||
echo "update mime-database"
|
||||
update-mime-database /usr/share/mime &>/dev/null
|
||||
@ -109,8 +119,8 @@ post_remove() {
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
echo "Remove unused gre dir"
|
||||
rm /etc/gre.d -r
|
||||
rm /etc/cb.conf.d -r
|
||||
|
||||
else
|
||||
echo " > WARNING"
|
||||
|
Loading…
Reference in New Issue
Block a user