Minor tweak of install.sh & update news

This commit is contained in:
bri cassa 2022-09-25 15:15:21 +02:00
parent 988ba1e8d4
commit 0ae73af795
3 changed files with 12 additions and 3 deletions

View File

@ -181,7 +181,7 @@ install_mods() {
install_world() {
local world_dir="$MINETEST_DIR/worlds/$WORLD_NAME"
if [ -d "$world_dir" ]; then
echo "$WORLD_NAME already exist."
echo "World $WORLD_NAME already exist."
read -p "Upgrade $WORLD_NAME? ([Y]es/[n]o/[c]lean) " continue
case "$continue" in
[yY][eE][sS]|[yY]|"")
@ -196,6 +196,10 @@ install_world() {
mv "$world_dir" "$world_dir"_old
verif
;;
[nN][oO]|[nN])
echo "Skiping…"
return
;;
esac
fi
if [ ! -d "$world_dir" ]; then
@ -366,7 +370,7 @@ post_install() {
echo -e "\t- $DESTINATION/mods_disabled.txt"
echo
if [ $MINETEST_MAPPER -eq 1 ]; then
if [[ $MINETEST_MAPPER -eq 1 ]]; then
echo "The use of Minetest Mapper needs ImageMagick with fontconfig and truetype dependencies."
echo "You also need to allow read and write permissions for PS. The configuration can be found in the file that manage the security policy of ImageMagick."
fi

View File

@ -2,7 +2,7 @@
Pour voir le détail d'une révision, se rendre sur https://sys4.fr/gitea puis aller dans le dépôt nalc-server-mods de l'organisation nalc. Dans la vue des révisions vous pouvez chercher la description d'une révision dont le numéro se trouve dans le tableaux des révisions ci-dessous :
===] 1.6.0/master/dev [===
===] 1.6.1/1.6.0/master/dev [===
* Révision| Date | Description
—————————————————————————————————————————

View File

@ -4,6 +4,11 @@
--=| NOTES DE VERSIONS / CHANGELOG |=--
===] 1.6.1 [===
*** CHANGES & ADDITIONS ****
* Minetest 5.6.1
===] 1.6.0 [===
**** CHANGES & ADDITIONS ****