This commit is contained in:
milisbir 2018-02-05 13:55:43 +02:00
parent fc550d5443
commit b648da893e
1 changed files with 6 additions and 4 deletions

View File

@ -11,10 +11,12 @@ devir=1
kaynak=(seyhan-logo.png) kaynak=(seyhan-logo.png)
derle() { derle() {
wget -nc http://www.seyhanproject.com/downloads/seyhan-$surum.zip \ if [ ! -f $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip ];then
--user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 \ wget http://www.seyhanproject.com/downloads/seyhan-$surum.zip \
(KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" \ --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 \
-O $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" \
-O $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip
fi
unzip $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip -d $SRC/ unzip $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip -d $SRC/
mkdir -pv $PKG/opt/seyhan mkdir -pv $PKG/opt/seyhan
mv $SRC/$isim-$surum/* $PKG/opt/seyhan/ mv $SRC/$isim-$surum/* $PKG/opt/seyhan/