From de6e183f959bdfa99f6d7e1d07acb06dbb214494 Mon Sep 17 00:00:00 2001 From: milisman Date: Sun, 1 May 2016 02:07:04 +0000 Subject: [PATCH] mps-gel --- bin/mps | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mps b/bin/mps index 0e6d5dd44..087926c68 100755 --- a/bin/mps +++ b/bin/mps @@ -1,6 +1,8 @@ #!/bin/bash . /etc/mpsd.conf +if [ -f /etc/mps.conf ];then . /etc/mps.conf +fi . /root/bin/fonks.sh versiyon="0.4" iletisim="milisarge@gmail.com" @@ -57,7 +59,7 @@ icerik_ekle(){ rm -r kur.$paketad/usr/share/doc fi 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 && #mv kur.$paketad/.MTREE /var/lib/pkg/DB/"$paketad"/files && mv kur.$paketad/.META $kokdizin/var/lib/pkg/DB/"$paketad"/META &&