Prevented ede-screensaver-conf to crash when xscreensaver is not installed.

Default desktop files will be installed during compilation time; if this was done during installation
time, files will be installed in superuser directory, which isn't the goal.

Fixed Jamfile to use correct path.
This commit is contained in:
Sanel Zukan
2009-10-08 09:45:27 +00:00
parent 7c245a2715
commit d4ee21532a
3 changed files with 11 additions and 6 deletions

View File

@@ -12,6 +12,8 @@ content=`ls $desktop_dir/*.desktop 2>>/dev/null`
# check if directory is empty and install if it does
if test "x$content" = "x"; then
echo "Preparing $desktop_dir for the first time..."
for file in $targets; do
cp $curr_dir/$file $desktop_dir
done