summaryrefslogtreecommitdiff
path: root/build-aux/post-install.sh
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-04-07 19:09:25 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-04-07 19:11:30 +0100
commit866670e30907eb534895da26626709ed5f2e419d (patch)
treeff40382fa391f7c0f3c2c5d41bffcb633d578305 /build-aux/post-install.sh
parent6e8a9c608649db887705d3666cbd39e924319cb4 (diff)
downloadgdk-pixbuf-866670e30907eb534895da26626709ed5f2e419d.tar.gz
build: Port post-install script to Python
Avoid the whole shell/batch file shenanigans.
Diffstat (limited to 'build-aux/post-install.sh')
-rw-r--r--build-aux/post-install.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/build-aux/post-install.sh b/build-aux/post-install.sh
deleted file mode 100644
index 661bceeef..000000000
--- a/build-aux/post-install.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-bindir="$1"
-libdir="$2"
-binary_version="$3"
-
-if [ -z "$DESTDIR" ]; then
- mkdir -p "$libdir/gdk-pixbuf-2.0/$binary_version"
- $bindir/gdk-pixbuf-query-loaders > "$libdir/gdk-pixbuf-2.0/$binary_version/loaders.cache"
-else
- echo "***"
- echo "*** Warning: loaders.cache not built"
- echo "***"
- echo "*** You should generate this file manually on the host system"
- echo "*** using:"
- echo "*** gdk-pixbuf-query-loaders > $libdir/gdk-pixbuf-2.0/$binary_version/loaders.cache"
- echo "***"
-fi