malfs mekanizma guncelleme

This commit is contained in:
shamil 2016-02-26 04:41:17 +02:00
parent 2645a69a6d
commit 08fe7f8ad3
5 changed files with 25 additions and 4 deletions

View File

@ -48,6 +48,15 @@ etc/sysconfig/
etc/rc.d/
etc/init.d/
etc/pam.d/
etc/rc.d/rcS.d/
etc/rc.d/rc1.d/
etc/rc.d/rc5.d/
etc/rc.d/rc3.d/
etc/rc.d/rc6.d/
etc/rc.d/rc2.d/
etc/rc.d/rc4.d/
etc/rc.d/rc0.d/
etc/rc.d/init.d/
home/
usr/
mnt/
@ -89,3 +98,4 @@ var/lib/
var/run/
var/spool/
var/cache/
var/lib/pkg/drivers/

View File

@ -48,6 +48,15 @@ etc/sysconfig/
etc/rc.d/
etc/init.d/
etc/pam.d/
etc/rc.d/rcS.d/
etc/rc.d/rc1.d/
etc/rc.d/rc5.d/
etc/rc.d/rc3.d/
etc/rc.d/rc6.d/
etc/rc.d/rc2.d/
etc/rc.d/rc4.d/
etc/rc.d/rc0.d/
etc/rc.d/init.d/
home/
usr/
mnt/
@ -89,3 +98,4 @@ var/lib/
var/run/
var/spool/
var/cache/
var/lib/pkg/drivers/

View File

@ -13,7 +13,7 @@ icerik_ekle(){
paketad=`echo "$1" | cut -d'#' -f1`
paketad=`basename $paketad`
echo $paketad" paketi kuruluyor."
tar -C /tmp --extract --file=$1 .PRE > /tmp/$paketad_pre.log
tar -C /tmp --extract --file=$1 .PRE 1 2> /tmp/$paketad_pre.log
#kos-kur kontrolu
if [ -f /tmp/.PRE ];then
bash /tmp/.PRE
@ -71,9 +71,9 @@ paket_sil(){
if [ "$sil_onay" = "e" ];then
xargs rm -r -f < /tmp/$paket.sil &&
rm -r -f /var/lib/pkg/DB/"$paket" &&
rm -f /tmp/$paket.sil
echo $paket" paketi silindi."
fi
rm -f /tmp/$paket.sil
else
echo "paket zaten kurulu değil!"
fi

View File

@ -5,4 +5,5 @@ if [ -f etc/ssl/ca-bundle.crt ]; then
fi
if ! ( grep ssl /etc/dokunulmaz > /dev/null);then
echo "etc/ssl" >> /etc/dokunulmaz
echo "etc/ssl/certs" >> /etc/dokunulmaz
fi

View File

@ -1,5 +1,5 @@
if [ ! -f etc/rsyncd.conf ]; then
cat > etc/rsyncd.conf << "EOF"
if [ ! -f /etc/rsyncd.conf ]; then
cat > /etc/rsyncd.conf << "EOF"
# use chroot = yes
# [site]
# path = /home/saravane/nutyx.org