fix location init

This commit is contained in:
yggverse 2024-07-13 19:30:35 +03:00
parent b14b6ebd83
commit 7c06fd25a1

View file

@ -192,6 +192,9 @@ if [[ $BUILD_PHP_GTK == "y" ]]; then
make install
fi
# Init desktop location
mkdir -p $DIR_DESKTOP_TARGET
# Create launcher
cat > "$DIR_DESKTOP_TARGET/yoda.sh" <<EOL
#!/bin/bash
@ -201,8 +204,6 @@ EOL
chmod +x "$DIR_DESKTOP_TARGET/yoda.sh"
# Create desktop menu
mkdir -p $DIR_DESKTOP_TARGET
cat > "$DIR_DESKTOP_TARGET/yoda.desktop" <<EOL
[Desktop Entry]
Name=Yoda