More fixes for Linux MMC au override script (#446)

* :why:

* oof
This commit is contained in:
RaptaG 2022-08-22 14:18:49 +03:00 committed by GitHub
parent 331f9fd02d
commit 30f13178f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ echo "Restoring overridden mods for future launches..."
cd mods
for disabledmod in .*.jar.disabled
do
mod="$(basename $[disabledmod}.jar.disabled).jar"
mod="$(basename ${disabledmod} .jar.disabled).jar"
mv ${disabledmod} ${mod#.}
echo "$mod restored successfully!"
done

View file

@ -32,6 +32,6 @@ for mod in\
$mod5.jar\
$mod0.jar
do
mv ${mod} .$(basename ${mod}.jar).jar.disabled
echo "$mod disabled successfully!"
mv ${mod} .$(basename ${mod} .jar).jar.disabled
echo "${mod} disabled successfully!"
done