„build_spk.sh“ ändern
This commit is contained in:
parent
542ad2e236
commit
cc9de0349f
28
build_spk.sh
28
build_spk.sh
|
@ -106,23 +106,27 @@ if test -d "${build_tmp}/.helptoc"; then
|
||||||
echo " - INFO: Versteckter Ordner /.helptoc wurde lokalisiert und nach /helptoc umbenannt"
|
echo " - INFO: Versteckter Ordner /.helptoc wurde lokalisiert und nach /helptoc umbenannt"
|
||||||
mv "${build_tmp}/.helptoc" "${build_tmp}/helptoc"
|
mv "${build_tmp}/.helptoc" "${build_tmp}/helptoc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# create empty dirs:
|
||||||
|
[ ! -d "${build_tmp}/$APP/cfg" ] && mkdir "${build_tmp}/$APP/cfg"
|
||||||
|
[ ! -d "${build_tmp}/$APP/log" ] && mkdir "${build_tmp}/$APP/log"
|
||||||
|
|
||||||
# Rechte anpassen
|
# Rechte anpassen
|
||||||
echo ""
|
echo ""
|
||||||
echo " - INFO: Dateirechte anpassen ..."
|
echo " - INFO: Dateirechte anpassen ..."
|
||||||
for i in $(find "${build_tmp}/$APP/" -type f)
|
# for i in $(find "${build_tmp}/$APP/" -type f); do
|
||||||
do
|
for i in $(find "${build_tmp}/$APP/"); do
|
||||||
# echo "ändere $APP: $i"
|
# echo "ändere $APP: $i"
|
||||||
chmod 755 "$i"
|
chmod 755 "$i"
|
||||||
chown root:root "$i"
|
# chown root:root "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in $(find "${build_tmp}/$PKG/" -type f)
|
# for i in $(find "${build_tmp}/$PKG/" -type f); do
|
||||||
do
|
for i in $(find "${build_tmp}/$PKG/"); do
|
||||||
# echo "ändere $PKG: $i"
|
# echo "ändere $PKG: $i"
|
||||||
chmod 755 "$i"
|
chmod 755 "$i"
|
||||||
chown root:root "$i"
|
# chown root:root "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Packen und Ablegen der aktuellen Installation in den entsprechenden /Pack - Ordner
|
# Packen und Ablegen der aktuellen Installation in den entsprechenden /Pack - Ordner
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in a new issue