Remove dpkg trigger on old immodules search path
GTK 3 hasn't searched this path since 2015, so it was no longer useful to have a trigger on it.
This commit is contained in:
parent
6a344f2d74
commit
0cecd17680
3
debian/libgtk-3-0.postinst.in
vendored
3
debian/libgtk-3-0.postinst.in
vendored
@ -2,7 +2,6 @@
|
||||
set -e
|
||||
|
||||
IMMODULES_DIR=/@MODULES_BASE_PATH@/immodules
|
||||
IMMODULES_DIR_OLD=/@OLD_MODULES_BASE_PATH@/immodules
|
||||
|
||||
if [ "$1" = triggered ]; then
|
||||
# This is triggered everytime an application installs a
|
||||
@ -14,7 +13,7 @@ fi
|
||||
#DEBHELPER#
|
||||
|
||||
# Also handle the initial installation
|
||||
if [ -d $IMMODULES_DIR ] || [ -d $IMMODULES_DIR_OLD ]; then
|
||||
if [ -d "$IMMODULES_DIR" ]; then
|
||||
/@LIBDIR@/@SHARED_PKG@/gtk-query-immodules-3.0 --update-cache || true
|
||||
fi
|
||||
|
||||
|
1
debian/libgtk-3-0.triggers.in
vendored
1
debian/libgtk-3-0.triggers.in
vendored
@ -1,2 +1 @@
|
||||
interest-noawait /@MODULES_BASE_PATH@/immodules
|
||||
interest-noawait /@OLD_MODULES_BASE_PATH@/immodules
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -30,7 +30,6 @@ CONFDIR := etc/gtk-3.0
|
||||
|
||||
# relative base directory for all types of modules
|
||||
MODULES_BASE_PATH := $(LIBDIR)/gtk-3.0/$(GTK_BINARY_VERSION)
|
||||
OLD_MODULES_BASE_PATH := usr/lib/gtk-3.0/$(GTK_BINARY_VERSION)
|
||||
|
||||
# package names
|
||||
SHARED_PKG := libgtk-$(APIVER)-$(SONAME)
|
||||
@ -81,7 +80,6 @@ debian/%: debian/%.in
|
||||
-e "s#@LIBDIR@#$(LIBDIR)#g" \
|
||||
-e 's#@CONFDIR@#$(CONFDIR)#g' \
|
||||
-e "s#@MODULES_BASE_PATH@#$(MODULES_BASE_PATH)#g" \
|
||||
-e "s#@OLD_MODULES_BASE_PATH@#$(OLD_MODULES_BASE_PATH)#g" \
|
||||
-e "s#@NEWS@#$(NEWS)#g" \
|
||||
-e "s#@README@#$(README)#g" \
|
||||
$@.in > $@
|
||||
|
Loading…
Reference in New Issue
Block a user