allow for whitespace in XDG_DESKTOP_DIR
This allows for example "Área de Trabalho"
This commit is contained in:
parent
11da4a83e4
commit
a6041f290e
@ -603,13 +603,13 @@ then
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Creating a desktop link for ${PGM_NAME} in ${USER_DESKTOP_DIR}"
|
echo "Creating a desktop link for ${PGM_NAME} in ${USER_DESKTOP_DIR}"
|
||||||
cp ${MENU_FILE_PATH}/${MENU_FILE} ${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}
|
cp ${MENU_FILE_PATH}/${MENU_FILE} "${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}"
|
||||||
chmod ugo+rwx ${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}
|
chmod ugo+rwx "${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}"
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
echo "Creating a desktop link for ${PGM_NAME} in ${USER_DESKTOP_DIR}"
|
echo "Creating a desktop link for ${PGM_NAME} in ${USER_DESKTOP_DIR}"
|
||||||
cp ${MENU_FILE_PATH}/${MENU_FILE} ${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}
|
cp ${MENU_FILE_PATH}/${MENU_FILE} "${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}"
|
||||||
chmod ugo+rwx ${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}
|
chmod ugo+rwx "${USER_DESKTOP_DIR}/${DESKTOP_LINK_FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user