From c32f91af2ed77fe7a303c288c9917815d61f7076 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 10 Mar 2016 15:12:52 +0200 Subject: [PATCH] malfs mekanizma guncelleme --- .../tamir_docbookxml} | 0 bin/{ => eski}/tamir_libffi64 | 0 bin/{ => eski}/tamir_xterm | 0 bin/mps | 14 +- bin/opisi | 1 - bin/otoderle | 1 - bin/paket_idz.sh | 1 - .../genel/docbook-xml/docbook-xml.kur-kos | 414 ++++++++++++++++++ talimatname/genel/libffi/libffi.kur-kos | 2 + talimatname/genel/openbox/openbox.kur-kos | 1 + talimatname/genel/openbox/talimat | 2 +- 11 files changed, 423 insertions(+), 13 deletions(-) rename bin/{tamir_buildDocBookCatalog => eski/tamir_docbookxml} (100%) rename bin/{ => eski}/tamir_libffi64 (100%) rename bin/{ => eski}/tamir_xterm (100%) delete mode 100755 bin/opisi delete mode 100755 bin/otoderle delete mode 100644 bin/paket_idz.sh create mode 100755 talimatname/genel/libffi/libffi.kur-kos create mode 100755 talimatname/genel/openbox/openbox.kur-kos diff --git a/bin/tamir_buildDocBookCatalog b/bin/eski/tamir_docbookxml similarity index 100% rename from bin/tamir_buildDocBookCatalog rename to bin/eski/tamir_docbookxml diff --git a/bin/tamir_libffi64 b/bin/eski/tamir_libffi64 similarity index 100% rename from bin/tamir_libffi64 rename to bin/eski/tamir_libffi64 diff --git a/bin/tamir_xterm b/bin/eski/tamir_xterm similarity index 100% rename from bin/tamir_xterm rename to bin/eski/tamir_xterm diff --git a/bin/mps b/bin/mps index 910f427f6..ea65225ba 100755 --- a/bin/mps +++ b/bin/mps @@ -103,13 +103,9 @@ paket_sil(){ if [ "$2" ]; then oto_silme="$2" fi - - if [ -f "/var/lib/pkg/DB/$paket/kurulan" ];then - kkont=`kurulu_kontrol "$1"` - if [ "$kkont" = "kurulu" ];then - # - #while IFS='' read -r line || [[ -n "$line" ]]; do - + kkont=`kurulu_kontrol "$1"` + if [ "$kkont" = "kurulu" ];then + if [ -f "/var/lib/pkg/DB/$paket/kurulan" ];then cat /var/lib/pkg/DB/$paket/kurulan | cut -d '>' -f2 > /tmp/$paket.sil if [ "$oto_silme" = "evet" ];then @@ -131,10 +127,10 @@ paket_sil(){ fi rm -f /tmp/$paket.sil else - ryaz 31 "paket zaten kurulu değil!" + ryaz 31 "kritik mesaj:kurulanlar dosyası yok." fi else - echo "kritik mesaj:kurulanlar dosyası yok." + ryaz 32 "paket zaten kurulu değil!" fi } diff --git a/bin/opisi b/bin/opisi deleted file mode 100755 index 6e60c4e12..000000000 --- a/bin/opisi +++ /dev/null @@ -1 +0,0 @@ -pisi-cli --ignore-sandbox bi $1 diff --git a/bin/otoderle b/bin/otoderle deleted file mode 100755 index 0e4401fdc..000000000 --- a/bin/otoderle +++ /dev/null @@ -1 +0,0 @@ -mpsd -d -cf ../../bin/paketci.conf diff --git a/bin/paket_idz.sh b/bin/paket_idz.sh deleted file mode 100644 index 6b149cd68..000000000 --- a/bin/paket_idz.sh +++ /dev/null @@ -1 +0,0 @@ -grep -rli '${PKGMK_BUILDVER}' * | xargs -i@ sed -i 's/${PKGMK_BUILDVER}/#$version-/g' @ diff --git a/talimatname/genel/docbook-xml/docbook-xml.kur-kos b/talimatname/genel/docbook-xml/docbook-xml.kur-kos index cd243e3fe..213e4e4ec 100644 --- a/talimatname/genel/docbook-xml/docbook-xml.kur-kos +++ b/talimatname/genel/docbook-xml/docbook-xml.kur-kos @@ -94,3 +94,417 @@ do /etc/xml/catalog done +#! /bin/bash + +usage() +{ + cat <> /root/.bashrc diff --git a/talimatname/genel/openbox/talimat b/talimatname/genel/openbox/talimat index 65c8cee2d..3f8b672b6 100644 --- a/talimatname/genel/openbox/talimat +++ b/talimatname/genel/openbox/talimat @@ -18,7 +18,7 @@ build() --docdir=/usr/share/doc/$name-$version make make DESTDIR=$PKG install - cp /lib/ncurses/terminfo/x/xterm /usr/share/terminfo/x/ + rm -rf $PKG/usr/share/doc install -D -m644 ../openbox.xinitrc $PKG/etc/X11/dm/openbox.xinitrc }