milis/bin/arch2milis.sh

17 lines
431 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
#Milislinux arch pkgbuild dosya terim çevirme betik
if [ -z "$1" ]; then
echo "kullanım: arch2milis.sh talimat_yol"
else
sed -i 's/pkgname/isim/g' $1
sed -i 's/pkgver/surum/g' $1
sed -i 's/pkgrel/devir/g' $1
sed -i 's/pkgdesc/# Tanım/g' $1
sed -i 's/{pkgdir}/{PKG}/g' $1
sed -i 's/pkgdir/PKG/g' $1
sed -i 's/{srcdir}/{SRC}/g' $1
sed -i 's/srcdir/SRC/g' $1
echo "gerekli değişiklikler yapıldı."
fi