changeset 703:00b288a5599a

vanilla: update all post scripts
author David Demelier <markand@malikania.fr>
date Fri, 02 Aug 2019 12:15:08 +0200
parents 720ded7ed1b6
children 4ebdd1925092
files Templates/gdk-pixbuf-post.sh Templates/gtk-update-icon-cache-post.sh core/busybox/busybox-post.sh graphics/gdk-pixbuf/gdk-pixbuf-post.sh graphics/librsvg/librsvg-post.sh mate/libmateweather/libmateweather-post.sh mate/mate-panel/mate-panel-post.sh mate/mate-session-manager/mate-session-manager-post.sh mate/mate-settings-daemon/mate-settings-daemon-post.sh themes/hicolor-icon-theme/hicolor-icon-theme-post.sh
diffstat 10 files changed, 24 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/Templates/gdk-pixbuf-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/Templates/gdk-pixbuf-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,4 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-chroot $DESTDIR /bin/gdk-pixbuf-query-loaders --update-cache
+if [ -x /bin/gtk-pixbuf-query-loaders ]; then
+	/bin/gdk-pixbuf-query-loaders --update-cache
+fi
--- a/Templates/gtk-update-icon-cache-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/Templates/gtk-update-icon-cache-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,4 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/DIRECTORY
+if [ -x /bin/gtk-update-icon-cache ]; then
+	/bin/gtk-update-icon-cache -fqt /share/icons/DIRECTORY
+fi
--- a/core/busybox/busybox-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/core/busybox/busybox-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -16,5 +16,5 @@
 #
 
 if [ "$1" = "install" ]; then
-	chroot $DESTDIR /bin/busybox --install -s
+	/bin/busybox --install -s
 fi
--- a/graphics/gdk-pixbuf/gdk-pixbuf-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/graphics/gdk-pixbuf/gdk-pixbuf-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -16,7 +16,7 @@
 #
 
 if [ "$1" = "install" ]; then
-	chroot $DESTDIR /bin/gdk-pixbuf-query-loaders --update-cache
+	/bin/gdk-pixbuf-query-loaders --update-cache
 elif [ "$1" = "uninstall" ]; then
-	rm -f $DESTDIR/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+	rm -f /lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
 fi
--- a/graphics/librsvg/librsvg-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/graphics/librsvg/librsvg-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,4 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-chroot $DESTDIR /bin/gdk-pixbuf-query-loaders --update-cache
+if [ -x /bin/gdk-pixbuf-query-loaders ]; then
+	/bin/gdk-pixbuf-query-loaders --update-cache
+fi
--- a/mate/libmateweather/libmateweather-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/mate/libmateweather/libmateweather-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,4 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/mate
+if [ -x /bin/gtk-update-icon-cache ]; then
+	/bin/gtk-update-icon-cache -fqt /share/icons/mate
+fi
--- a/mate/mate-panel/mate-panel-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/mate/mate-panel/mate-panel-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,4 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/hicolor
+if [ -x /bin/gtk-update-icon-cache ]; then
+	/bin/gtk-update-icon-cache -fqt /share/icons/hicolor
+fi
--- a/mate/mate-session-manager/mate-session-manager-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/mate/mate-session-manager/mate-session-manager-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,6 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-if [ "$1" = "install" ]; then
-	chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/hicolor
+if [ -x /bin/gtk-update-icon-cache ]; then
+	/bin/gtk-update-icon-cache -fqt /share/icons/hicolor
 fi
--- a/mate/mate-settings-daemon/mate-settings-daemon-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/mate/mate-settings-daemon/mate-settings-daemon-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,6 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-if [ "$1" = "install" ]; then
-	chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/hicolor
+if [ -x /bin/gtk-update-icon-cache ]; then
+	/bin/gtk-update-icon-cache -fqt /share/icons/hicolor
 fi
--- a/themes/hicolor-icon-theme/hicolor-icon-theme-post.sh	Fri Aug 02 12:14:22 2019 +0200
+++ b/themes/hicolor-icon-theme/hicolor-icon-theme-post.sh	Fri Aug 02 12:15:08 2019 +0200
@@ -15,6 +15,6 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-if [ "$1" = "install" ]; then
-	chroot $DESTDIR /bin/gtk-update-icon-cache -fqt /share/icons/hicolor
+if [ -x /bin/gtk-update-icon-cache ]; then
+	/bin/gtk-update-icon-cache -fqt /share/icons/hicolor
 fi