aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fbsetbg6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index b4920df..b92cb3b 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -23,7 +23,7 @@
23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25# 25#
26# $Id: fbsetbg,v 1.28 2004/01/17 01:29:40 fluxgen Exp $ 26# $Id: fbsetbg,v 1.29 2004/01/22 05:48:41 fluxgen Exp $
27 27
28# Portability notes: 28# Portability notes:
29# To guarantee this script works on all platforms that support fluxbox 29# To guarantee this script works on all platforms that support fluxbox
@@ -312,7 +312,9 @@ done
312 312
313# Find the default wallpapersetter 313# Find the default wallpapersetter
314if [ "$setterfromcommandline" != true ]; then 314if [ "$setterfromcommandline" != true ]; then
315 wpsetters="`awk '/wpsetters/ {print $2}' $lastwallpaper` $wpsetters" 315 if [ -r "$lastwallpaper" ]; then
316 wpsetters="`awk '/wpsetters/ {print $2}' $lastwallpaper` $wpsetters"
317 fi
316 for wpsetter in $wpsetters; do 318 for wpsetter in $wpsetters; do
317 if find_it $wpsetter; then 319 if find_it $wpsetter; then
318 WPSETTER=$wpsetter 320 WPSETTER=$wpsetter