Skip to content

Commit 5a2f334

Browse files
authored
Added missing spaces to the installjava script.
Maybe they were causing an issue 😕?
1 parent 34b4e64 commit 5a2f334

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

installjava

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ then
1717
echo
1818
exit
1919
else
20-
#Checking, whether is someone trying to cheat and simplyfy their installation it on Linux (i.e. x86 (not listad, as you can see) machine) using this script, which have no reason to work.
20+
#Checking, whether is someone trying to cheat and simplyfy their installation it on Linux (i.e. x86 (not listad, as you can see) machine) using this script, which have no reason to work.
2121
case `dpkg --print-architecture` in
2222
aarch64)
2323
archname="aarch64"; tag="v8" ;;
@@ -32,33 +32,33 @@ else
3232
*)
3333
ee "\e[91mERROR: Unknown architecture."; echo; exit ;;
3434
esac
35-
36-
#Actual installation
35+
36+
#Actual installation
3737
ee "\e[32m[*] \e[34mDownloading JDK-8 (~70Mb) for ${archname}... 🕛This will take some time, so better make a coffee.🕛"
3838
wget https://github.com/Hax4us/java/releases/download/${tag}/jdk8_${archname}.tar.gz -q
39-
39+
4040
ee "\e[32m[*] \e[34mMoving JDK to system..."
4141
mv jdk8_${archname}.tar.gz $PREFIX/share
42-
42+
4343
ee "\e[32m[*] \e[34mExtracting JDK..."
4444
cd $PREFIX/share
4545
tar -xhf jdk8_${archname}.tar.gz
46-
47-
ee "\e[32m[*] \e[34mSeting-up %JAVA_HOME%..."
46+
47+
ee "\e[32m[*] \e[34mSeting-up %JAVA_HOME%..."
4848
export JAVA_HOME=$PREFIX/share/jdk8
49-
echo "export JAVA_HOME=$PREFIX/share/jdk8" >> $HOME/.profile
50-
49+
echo "export JAVA_HOME=$PREFIX/share/jdk8" >> $HOME/.profile
50+
5151
ee "\e[32m[*] \e[34mCoping Java wrapper scripts to bin..."
5252
#I'm not 100% sure, but getting rid of bin contnent MAY cause some issues with %JAVA_HOME%, thus it's no longer moved - copied instead. Sorry to everyone short on storage.
53-
cp bin/* $PREFIX/bin
54-
53+
cp bin/* $PREFIX/bin
54+
5555
ee "\e[32m[*] \e[34mCleaning up temporary files..."
5656
rm -rf $HOME/installjava
5757
rm -rf $PREFIX/share/jdk8_${archname}.tar.gz
5858
rm -rf $PREFIX/share/bin
59-
59+
6060
echo
6161
ee "\e[32mJava was successfully installed!\e[39m"
62-
echo "Enjoy your new, tasty Java :D (and a coffee, if you didn't drink it yet)"
62+
echo "Enjoy your new, tasty Java :D (and a coffee, if you didn't drink it yet)"
6363
echo
64-
fi
64+
fi

0 commit comments

Comments
 (0)