Skip to content

Commit

Permalink
update dev.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Gaetan Semet <[email protected]>
  • Loading branch information
gsemet committed Feb 3, 2016
1 parent 94f2460 commit 072f763
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 072f763

Please sign in to comment.