diff --git a/dev.sh b/dev.sh index ecacc2824..043e18845 100755 --- a/dev.sh +++ b/dev.sh @@ -11,12 +11,17 @@ echo "execute guake for developer." echo "use --no-install to avoid installing guake on your system" echo "(beware, gconf schema will be altered)" echo "use --reinstall to force complete reinstall" +echo "use --unnstall to force complete reinstall" echo "use --update-po to force update translations" if [[ $1 == "--install" ]]; then NO_INSTALL=false fi +if [[ $1 == "--uninstall" ]]; then + UNINSTALL=true +fi + if [[ $1 == "--reinstall" ]]; then EXEC_AUTOGEN=true fi @@ -43,6 +48,11 @@ if [[ $EXEC_AUTOGEN == true ]]; then ./autogen.sh fi +if [[ $UNINSTALL == true ]]; then + sudo make uninstall + exit 1 +fi + make || exit 1 if [[ $EXEC_UPDATE_PO == true ]]; then cd po