mps-gel
This commit is contained in:
parent
32d295d93b
commit
de6e183f95
4
bin/mps
4
bin/mps
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. /etc/mpsd.conf
|
. /etc/mpsd.conf
|
||||||
|
if [ -f /etc/mps.conf ];then
|
||||||
. /etc/mps.conf
|
. /etc/mps.conf
|
||||||
|
fi
|
||||||
. /root/bin/fonks.sh
|
. /root/bin/fonks.sh
|
||||||
versiyon="0.4"
|
versiyon="0.4"
|
||||||
iletisim="milisarge@gmail.com"
|
iletisim="milisarge@gmail.com"
|
||||||
|
@ -57,7 +59,7 @@ icerik_ekle(){
|
||||||
rm -r kur.$paketad/usr/share/doc
|
rm -r kur.$paketad/usr/share/doc
|
||||||
fi
|
fi
|
||||||
mkdir -p $kokdizin/var/lib/pkg/DB/"$paketad" &&
|
mkdir -p $kokdizin/var/lib/pkg/DB/"$paketad" &&
|
||||||
cp -v -afr kur.$paketad/* $kokdizin > kur.$paketad/kurulan &&
|
cp -v -afr kur.$paketad/* $kokdizin > kur.$paketad/kurulan
|
||||||
cp kur.$paketad/kurulan /tmp/ &&cat kur.$paketad/kurulan | cut -d '>' -f2 > $kokdizin/var/lib/pkg/DB/"$paketad"/kurulan &&
|
cp kur.$paketad/kurulan /tmp/ &&cat kur.$paketad/kurulan | cut -d '>' -f2 > $kokdizin/var/lib/pkg/DB/"$paketad"/kurulan &&
|
||||||
#mv kur.$paketad/.MTREE /var/lib/pkg/DB/"$paketad"/files &&
|
#mv kur.$paketad/.MTREE /var/lib/pkg/DB/"$paketad"/files &&
|
||||||
mv kur.$paketad/.META $kokdizin/var/lib/pkg/DB/"$paketad"/META &&
|
mv kur.$paketad/.META $kokdizin/var/lib/pkg/DB/"$paketad"/META &&
|
||||||
|
|
Loading…
Reference in New Issue