doc-yerel-silinme

This commit is contained in:
milisbir 2016-03-26 01:00:34 +00:00
parent e0d8390f29
commit 209eb10188
3 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,8 @@ VT="/var/lib/pkg/DB"
TARIHCE_DIZIN="/var/lib/pkg/tarihce"
tekrarkur="hayir"
lokal="tr"
docsil="evet"
yerelsil="evet"
icerik_ekle(){
@ -30,11 +32,15 @@ icerik_ekle(){
mkdir -p kur.$paketad &&
tar xf $1 -C kur.$paketad &&
#istenmeyen yerellerin silinmesi
if [ -d kur.$paketad/usr/share/locale ];then
if [ -d kur.$paketad/usr/share/locale ] && [ "$yerelsil" == "evet" ];then
for lkl in `ls kur.$paketad/usr/share/locale/`;do
if [ "$lkl" != "$lokal" ];then rm -r kur.$paketad/usr/share/locale/$lkl; fi
done
fi
#doc dizini silinmesi
if [ -d kur.$paketad/usr/share/doc ] && [ "$docsil" == "evet" ];then
rm -r kur.$paketad/usr/share/doc
fi
mkdir -p /var/lib/pkg/DB/"$paketad" &&
cp -v -afr kur.$paketad/* $kokdizin > kur.$paketad/kurulan &&
cp kur.$paketad/kurulan /tmp/ &&cat kur.$paketad/kurulan | cut -d '>' -f2 > /var/lib/pkg/DB/"$paketad"/kurulan &&

1
bin/tamir_xfce4_plugin Executable file
View File

@ -0,0 +1 @@
ln -s /usr/lib64/xfce4/panel-plugins/* /usr/lib/xfce4/panel-plugins/

View File

@ -5,7 +5,6 @@
name=nano
version=2.5.2
release=1
#PAKET_LOKAL="hepsi"
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)