diff options
-rwxr-xr-x | make_slackware_live.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh index fc3d7ba..7b349a5 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -946,10 +946,11 @@ function plasma5_custom_bg() { # Exit immediately if the image file is not found: if ! readlink -f ${LIVE_TOOLDIR}/media/${LIVEDE,,}/bg/background.* 1>/dev/null 2>&1 ; then - return 1 + echo "-- No ${LIVEDE} custom wallpaper image." + return fi - echo "-- Configuring custom background image." + echo "-- Configuring ${LIVEDE} custom background image." # First convert our image into a JPG in the liveslak directory: mkdir -p ${LIVE_ROOTDIR}/usr/share/${LIVEMAIN}/${LIVEDE,,} convert ${LIVE_TOOLDIR}/media/${LIVEDE,,}/bg/background.* ${LIVE_ROOTDIR}/usr/share/${LIVEMAIN}/${LIVEDE,,}/background.jpg |