Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d7bb188

Browse files
rm -rf temporary files after installation
1 parent c81bd36 commit d7bb188

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎installjava‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,11 @@ else
3838
ee "\e[34m[*] Moving Java wrapper scripts to bin..."
3939
mv bin/* $PREFIX/bin
4040
echo
41+
ee "\e[34m[*] Cleaning up temporary files..."
42+
rm -rf $HOME/installjava
43+
rm -rf $PREFIX/share/jdk8_${archname}.tar.gz
44+
rm -rf $PREFIX/share/bin
45+
echo
4146
ee "\e[32mJava was successfully installed!\e[39m"
47+
echo
4248
fi

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /