File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,6 @@ case "$DEPLOY_GTK_VERSION" in
213213 gtk3_immodules_cache_file=" $( dirname " $gtk3_immodulesdir " ) /immodules.cache"
214214 gtk3_immodules_query=" $( search_tool " gtk-query-immodules-3.0" " libgtk-3-0" ) "
215215 copy_tree " $gtk3_libdir " " $APPDIR /"
216- sed -i " s|$gtk3_libdir /||g" " $APPDIR /$gtk3_immodules_cache_file "
217216 cat >> " $HOOKFILE " << EOF
218217export GTK_EXE_PREFIX="\$ APPDIR/$gtk3_exec_prefix "
219218export GTK_PATH="\$ APPDIR/$gtk3_path "
229228 if [ ! -f " $APPDIR /$gtk3_immodules_cache_file " ]; then
230229 echo " WARNING: immodules.cache file is missing"
231230 fi
231+ sed -i " s|$gtk3_libdir /||g" " $APPDIR /$gtk3_immodules_cache_file "
232232 ;;
233233 4)
234234 echo " Installing GTK 4.0 modules"
@@ -255,7 +255,6 @@ gdk_pixbuf_moduledir="$(get_pkgconf_variable "gdk_pixbuf_moduledir" "gdk-pixbuf-
255255# Note: gdk_pixbuf_query_loaders variable is not defined on some systems
256256gdk_pixbuf_query=" $( search_tool " gdk-pixbuf-query-loaders" " gdk-pixbuf-2.0" ) "
257257copy_tree " $gdk_pixbuf_binarydir " " $APPDIR /"
258- sed -i " s|$gdk_pixbuf_moduledir /||g" " $APPDIR /$gdk_pixbuf_cache_file "
259258cat >> " $HOOKFILE " << EOF
260259export GDK_PIXBUF_MODULE_FILE="\$ APPDIR/$gdk_pixbuf_cache_file "
261260EOF
268267if [ ! -f " $APPDIR /$gdk_pixbuf_cache_file " ]; then
269268 echo " WARNING: loaders.cache file is missing"
270269fi
270+ sed -i " s|$gdk_pixbuf_moduledir /||g" " $APPDIR /$gdk_pixbuf_cache_file "
271271
272272echo " Copying more libraries"
273273gobject_libdir=" $( get_pkgconf_variable " libdir" " gobject-2.0" ) "
You can’t perform that action at this time.
0 commit comments