From 39fca5f99f3ff14c1e62526fff6a0644a7a5d677 Mon Sep 17 00:00:00 2001 From: milisman Date: Thu, 2 Jun 2016 02:55:44 +0300 Subject: [PATCH] mps-dly.guncellendi --- bin/mps | 59 ++++++++++++++++------------ talimatname/genel/boost/talimat | 2 +- talimatname/genel/python-xdg/talimat | 2 +- 3 files changed, 36 insertions(+), 27 deletions(-) diff --git a/bin/mps b/bin/mps index ecaf528bb..2021a0cc2 100755 --- a/bin/mps +++ b/bin/mps @@ -184,28 +184,31 @@ yeniden_paketle(){ derleme_listyap(){ bagimlist=`bagimlilar "$1"` - for bagim in $bagimlist;do - if [ "`cat tumbag.liste | grep $bagim`" != "$bagim" ];then - derleme_listyap "$bagim" - fi - done - #if [ "`cat tumbag.liste | grep $1`" != "$1" ];then - # echo "tumbag.liste yazılıyor:" "$1" - # echo "$1" >> tumbag.liste - #fi - if ! grep -Fxq "$1" tumbag.liste - then - # echo "pas" - #else - ana="`find $talimatname_dizin -name $1`" - echo ${ana#"$talimatname_dizin"} - #sadece genel bagimliliklar derlenecek - echo "$1" >> tumbag.liste - if [ -d "$talimatname_dizin/genel/$1" ];then - echo "$1" >> bag.liste + + if [ "$bagimlist" != "talimatyok" ];then + for bagim in $bagimlist;do + + if [ "`cat tumbag.liste | grep $bagim`" != "$bagim" ];then + derleme_listyap "$bagim" + fi + + done + + if ! grep -Fxq "$1" tumbag.liste + then + ana="`find $talimatname_dizin -name $1`" + echo ${ana#"$talimatname_dizin"} + #sadece genel bagimliliklar derlenecek + echo "$1" >> tumbag.liste + if [ -d "$talimatname_dizin/genel/$1" ];then + echo "$1" >> bag.liste + fi fi + else + ryaz 31 "$1 talimatı bulunamadı." + exit 1 fi -} +} derleme_listbilgi(){ ryaz 34 "yapim asamasında" @@ -405,11 +408,17 @@ paket_derle(){ bagimlilar(){ local bagimd konum konum="`find "$talimatname_dizin" -name $1`" - bagimd=`cat $konum/talimat | grep "Depends on" | cut -d':' -f2` - if [ -n "$bagimd" ]; then - bagimd=`echo "$bagimd" | sed 's/,/ /g'` - #sıralı gösterme - echo `echo "$bagimd" | sed 's/,/ /g'` + if [ -f "$konum/talimat" ];then + bagimd=`cat $konum/talimat | grep "Depends on" | cut -d':' -f2` + + if [ -n "$bagimd" ]; then + bagimd=`echo "$bagimd" | sed 's/,/ /g'` + #sıralı gösterme + echo `echo "$bagimd" | sed 's/,/ /g'` + fi + else + echo "talimatyok" + exit 1 fi } diff --git a/talimatname/genel/boost/talimat b/talimatname/genel/boost/talimat index d94458b20..4c50831a8 100644 --- a/talimatname/genel/boost/talimat +++ b/talimatname/genel/boost/talimat @@ -1,6 +1,6 @@ # Description: Boost provides a set of free peer-reviewed portable C++ source libraries. # URL: http://boost.sourceforge.net/ -# Packager: tnut at nutyx dot org +# Packager: milisarge # Depends on: icu python name=boost diff --git a/talimatname/genel/python-xdg/talimat b/talimatname/genel/python-xdg/talimat index 7223ca7e1..11edf9b58 100644 --- a/talimatname/genel/python-xdg/talimat +++ b/talimatname/genel/python-xdg/talimat @@ -1,6 +1,6 @@ # Description: Python library for accessing FreeDesktop standards # URL: http://freedesktop.org/wiki/Software/pyxdg -# Packager: geantbrun at gmail dot com +# Packager: milisarge # Depends on: python name=python-xdg