Last active
April 20, 2020 00:07
-
-
Save jerry-maheswara-github/7958cfc3096d3d05ac6f03750eadd3cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
default="2019.3" | |
version=${1:-$default} | |
#echo $variable1 | |
echo $version | |
reset_evaluation() | |
{ | |
echo "Reset PhpStorm and DataGrip Evaluation Version: "$version | |
rm -rf ~/.*$version/config/eval | |
rm ~/.*$version/config/options/other.xml | |
rm -rf ~/.java/.userPrefs/jetbrains/phpstorm | |
rm -rf ~/.java/.userPrefs/jetbrains/datagrip | |
echo "Done..." | |
} | |
if [ $version ]; then | |
reset_evaluation | |
else | |
echo "yg bener dong masukin versi nya" | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment