diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2006-08-30 16:01:44 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2006-08-30 16:01:44 +0000 |
commit | 3fe58ca8a766c4338854474bc507e7c4f9267366 (patch) | |
tree | d9514785b2b2fd5096993f20af847b574e078ca2 /xinit.d | |
parent | d7cd883edb257cecbf58bd8c7114d02393c2a9aa (diff) | |
download | common-data-3fe58ca8a766c4338854474bc507e7c4f9267366.tar common-data-3fe58ca8a766c4338854474bc507e7c4f9267366.tar.gz common-data-3fe58ca8a766c4338854474bc507e7c4f9267366.tar.bz2 common-data-3fe58ca8a766c4338854474bc507e7c4f9267366.tar.xz common-data-3fe58ca8a766c4338854474bc507e7c4f9267366.zip |
- Add missing directory file for adventure (Mdv bug #24829)
- Add empty menu nodes for KDE in discovery menu
- Remove old X-MandrakeLinux* categories for main menu, all entries
must now use X-MandrivaLinux
- fix default directories creation if translation contains spaces (Mdv bug #24677)
Diffstat (limited to 'xinit.d')
-rwxr-xr-x | xinit.d/desktop-directories | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xinit.d/desktop-directories b/xinit.d/desktop-directories index aa38dd0..9627973 100755 --- a/xinit.d/desktop-directories +++ b/xinit.d/desktop-directories @@ -33,13 +33,13 @@ if [ ! -e $USER_STAMP ]; then DIRECTORY_PATH="$HOME/$TARGET_DIR" - [ -d "$DIRECTORY_PATH" ] || mkdir -p $DIRECTORY_PATH - echo -e [Desktop Entry]\\nHidden=true\\n`grep Icon= $file` > $DIRECTORY_PATH/.directory + [ -d "$DIRECTORY_PATH" ] || mkdir -p "$DIRECTORY_PATH" + echo -e [Desktop Entry]\\nHidden=true\\n`grep Icon= $file` > "$DIRECTORY_PATH/.directory" FILE_PATH=$HOME/.mdk-folders/`basename $file .template` SYMLINK=$HOME/.mdk-folders/`basename $file -mdk.desktop.template` - ln -f -s $DIRECTORY_PATH $SYMLINK + ln -f -s "$DIRECTORY_PATH" $SYMLINK if [ "$CHARSET" != "UTF-8" ]; then DIRECTORY_PATH=`echo $DIRECTORY_PATH | iconv -f "$CHARSET" -t UTF-8 2>/dev/null` |