malfs mekanizma guncelleme

This commit is contained in:
root 2016-03-21 19:23:43 +02:00
parent e9048a4cab
commit 71b979db59
3 changed files with 18 additions and 21 deletions

View File

@ -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."
}

View File

@ -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} *

View File

@ -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() {