13
0

allow for whitespace in XDG_DESKTOP_DIR

This allows for example "Área de Trabalho"
This commit is contained in:
Robin Gareus 2016-08-15 22:18:23 +02:00
parent 11da4a83e4
commit a6041f290e

View File

@ -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 ""