diff options
author | B. Watson <yalhcru@gmail.com> | 2014-08-16 15:42:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-16 15:42:51 +0700 |
commit | b1cf3c24a8f4c168bdb94fe1403779dceb95eea2 (patch) | |
tree | ab5eb02a1a41b6ea3cba972eb2ae01fdc8aaef29 /desktop/idesk/create_user_dir.diff | |
parent | a690491cc3cbbf44a49327ba3baf77d00be636ad (diff) | |
download | slackbuilds-b1cf3c24a8f4c168bdb94fe1403779dceb95eea2.tar.gz slackbuilds-b1cf3c24a8f4c168bdb94fe1403779dceb95eea2.tar.xz |
desktop/idesk: Added (draws desktop icons on X root window).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/idesk/create_user_dir.diff')
-rw-r--r-- | desktop/idesk/create_user_dir.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/desktop/idesk/create_user_dir.diff b/desktop/idesk/create_user_dir.diff new file mode 100644 index 0000000000..652c424041 --- /dev/null +++ b/desktop/idesk/create_user_dir.diff @@ -0,0 +1,18 @@ +diff -Naur idesk-0.7.5/src/DesktopConfig.cpp idesk-0.7.5.patched/src/DesktopConfig.cpp +--- idesk-0.7.5/src/DesktopConfig.cpp 2005-11-10 18:07:58.000000000 -0500 ++++ idesk-0.7.5.patched/src/DesktopConfig.cpp 2014-08-15 20:50:47.000000000 -0400 +@@ -236,11 +236,13 @@ + + directory += "/.idesktop/"; + ++ mkdir(directory.c_str(), 0755); ++ + fileCount = scandir(directory.c_str(), &files, 0, alphasort); + + if (fileCount == -1) + { +- cout << "Error: you have to create the .idesktop dir on your HOME!!\n"; ++ cout << "Error: Can't find or create the .idesktop dir on your HOME!!\n"; + _exit (1); + } + |