Skip to content

Commit 486296c

Browse files
committed
IMPROVEMENT: Lint fix suggested by codacy
1 parent 3daec35 commit 486296c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [ -f /etc/debian_version ] || [ -f /etc/os-release ] && grep -q 'ID_LIKE=.*de
2929
# Define the desktop entry content
3030
desktop_entry="[Desktop Entry]\nName=ArduPilot Methodic Configurator\nComment=A clear ArduPilot configuration sequence\nExec=bash -c 'cd $prog_dir && python3 ardupilot_methodic_configurator.py'\nIcon=$prog_dir/ArduPilot_icon.png\nTerminal=true\nType=Application\nCategories=Development;\nKeywords=ardupilot;arducopter;drone;copter;scm"
3131
# Create the .desktop file in the appropriate directory
32-
echo -e $desktop_entry > "/home/$USER/.local/share/applications/MethodicConfigurator.desktop"
32+
echo -e "$desktop_entry" > "/home/$USER/.local/share/applications/MethodicConfigurator.desktop"
3333
echo "MethodicConfigurator.desktop created successfully."
3434
else
3535
echo "This system is not Debian-based. Skipping .desktop file creation."

0 commit comments

Comments
 (0)