diff --git a/bin/mps b/bin/mps index 1ffe05b94..8473c7a47 100755 --- a/bin/mps +++ b/bin/mps @@ -48,10 +48,8 @@ icerik_ekle(){ # rm $kokdizin/.README #fi rm -r tmpk.$paketad - if [ -f /tools/sbin/ldconfig ];then - /tools/sbin/ldconfig - else - /sbin/ldconfig + if [ -f /etc/ld.so.conf ];then + ldconfig fi ryaz 34 $paketad" paketi kuruldu." } diff --git a/bin/mpsd b/bin/mpsd index aed58767f..90a24465a 100755 --- a/bin/mpsd +++ b/bin/mpsd @@ -831,22 +831,22 @@ build_package() { j=0 done #dil desteginin eklenmesi-geri kalanın temizlenmesi - if [ ! "$PAKET_LOKAL" == "hepsi" ];then - local lokaldizin - if [ -d usr/share/locale ];then - lokaldizin="usr/share/locale" - fi - if [ -d opt/*/usr/share/locale ];then - lokaldizin="opt/*/usr/share/locale" - fi - for DIR in `ls $lokaldizin` ; do - if [[ "$PAKET_LOKAL" == *"$DIR"* ]]; then - echo $DIR "dil paketi ekleniyor" - else - rm -rf $lokaldizin/$DIR - fi - done - fi + #if [ ! "$PAKET_LOKAL" == "hepsi" ];then + # local lokaldizin + # if [ -d usr/share/locale ];then + # lokaldizin="usr/share/locale" + # fi + # if [ -d opt/*/usr/share/locale ];then + # lokaldizin="opt/*/usr/share/locale" + # fi + # for DIR in `ls $lokaldizin` ; do + # if [[ "$PAKET_LOKAL" == *"$DIR"* ]]; then + # echo $DIR "dil paketi ekleniyor" + # else + # rm -rf $lokaldizin/$DIR + # fi + # done + #fi if [ "`ls|wc -l`" != "0" ]; then bsdtar -r -f $PKGMK_PACKAGE_DIR/${name}#$version-${PKGMK_ARCH}.${PKT_UZANTISI} * diff --git a/lfs-mekanizma b/lfs-mekanizma index 67a9bd180..4cc14bdfe 100755 --- a/lfs-mekanizma +++ b/lfs-mekanizma @@ -149,7 +149,6 @@ ikinci_ayarlar(){ generate_milis_version cp $ANADIZIN/ayarlar/mpsd.conf $LFS/etc/ cp $ANADIZIN/ayarlar/onmpsd.conf $LFS/etc/ - cp $ANADIZIN/ayarlar/ld.so.conf $LFS/tools/etc/ } generate_milis_version() {