Skip to content

Commit

Permalink
Portable execute leapp
Browse files Browse the repository at this point in the history
  • Loading branch information
rbamos committed Jul 9, 2024
1 parent 59caf29 commit b47c5dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ fi
if [ -e "$LEAPP" ]; then
# If Leapp is not running, open it and wait for it to start up
if ! pgrep -x $leapp_proc_name &>/dev/null; then
open $LEAPP
if [[ $kernel_name == "Darwin" ]]; then
open $LEAPP
elif [[ $kernel_name == "Linux" ]]; then
$LEAPP &
fi
sleep 5
fi

Expand Down

0 comments on commit b47c5dd

Please sign in to comment.