aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorBob Funk <bobfunk11@gmail.com>2022-06-17 03:27:13 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-18 09:09:56 +0700
commit8c7cd9284a97c632d34562bb82090dd6dfd2e0ef (patch)
tree4435f1f1cbb932e160498d6510495051e610fb47 /desktop
parent5b6c4a5e05135f89d4240b69a0ba1b4dece0f2cf (diff)
desktop/gnome-photos: Check executable update-gdk-pixbuf-loaders.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gnome-photos/gnome-photos.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/gnome-photos/gnome-photos.SlackBuild b/desktop/gnome-photos/gnome-photos.SlackBuild
index ba0ba9c3da23e..579fd9f7576f9 100644
--- a/desktop/gnome-photos/gnome-photos.SlackBuild
+++ b/desktop/gnome-photos/gnome-photos.SlackBuild
@@ -79,7 +79,9 @@ find -L . \
# gnome-photos fails to build in a fresh build environment, complaining
# that it doesn't recognize svg formats. Updating the pixbuf loaders
# gets it working:
-/usr/bin/update-gdk-pixbuf-loaders
+if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
+ /usr/bin/update-gdk-pixbuf-loaders
+fi
mkdir build
cd build