diff --git a/debian/libgdk-pixbuf2.0-0.postinst.in b/debian/libgdk-pixbuf2.0-0.postinst.in index 91b34cd..bff7385 100644 --- a/debian/libgdk-pixbuf2.0-0.postinst.in +++ b/debian/libgdk-pixbuf2.0-0.postinst.in @@ -14,7 +14,7 @@ if [ "$1" = triggered ]; then # This is triggered everytime an application installs a # GdkPixbuf loader /usr/lib/#MULTIARCH#/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ - $(find $LOADERS_DIR $LOADERS_DIR_OLD -name *.so 2> /dev/null) \ + $(find $LOADERS_DIR $LOADERS_DIR_OLD -name *.so 2> /dev/null | LC_ALL=C sort) \ > /usr/lib/#MULTIARCH#/gdk-pixbuf-2.0/2.10.0/loaders.cache || true ;; esac @@ -28,6 +28,6 @@ fi # Also handle the initial installation if [ -d $LOADERS_DIR ] || [ -d $LOADERS_DIR_OLD ]; then /usr/lib/#MULTIARCH#/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ - $(find $LOADERS_DIR $LOADERS_DIR_OLD -name *.so 2> /dev/null) \ + $(find $LOADERS_DIR $LOADERS_DIR_OLD -name *.so 2> /dev/null | LC_ALL=C sort) \ > /usr/lib/#MULTIARCH#/gdk-pixbuf-2.0/2.10.0/loaders.cache || true fi