From 02bf468a9982644de49e4c062607f59044ad23c9 Mon Sep 17 00:00:00 2001 From: Soekarmana Date: Fri, 11 Nov 2011 16:45:41 +0800 Subject: [PATCH] added question dialog to run XAMPP after installation --- easyLAMPP | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/easyLAMPP b/easyLAMPP index 36a75b9..88ae4d5 100755 --- a/easyLAMPP +++ b/easyLAMPP @@ -56,3 +56,10 @@ Icon=folder-remote EOF ) > "$HtdocsFolder" chmod +x "$HtdocsFolder" + +if zenity --question --text="Do you want to launch XAMPP now ?" --title="Installation Finished" == 0 +then + $sudotool /opt/lampp/share/xampp-control-panel/xampp-control-panel +fi + +exit 0