summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cscript5
1 files changed, 1 insertions, 4 deletions
diff --git a/cscript b/cscript
index 2c8afff57..a79d4435e 100644
--- a/cscript
+++ b/cscript
@@ -812,10 +812,7 @@ def make_appimage(target, nice_name, internal_name, version, extra_binaries=None
lib = 'usr/lib64'
target.command(f'mkdir -p build/{nice_filename}.AppDir/{lib}/gdk-pixbuf-2.0/2.10.0')
target.command(f'cp -a /{lib}/gdk-pixbuf-2.0 build/{nice_filename}.AppDir/{lib}')
- target.command('sudo apt update')
- for package in ['libc6', 'libglib2.0-0', 'gnome-settings-daemon-schemas', 'librsvg2-common', 'libgdk-pixbuf2.0-0', 'libpango-1.0-0', 'libpangoft2-1.0-0', 'libpangocairo-1.0-0', 'libthai0']:
- target.command(f'apt download {package}')
- target.command(f'dpkg-deb -x {package}*.deb {appdir}')
+ target.command('sudo yum update')
target.command(f'glib-compile-schemas {appdir}/usr/share/glib-2.0/schemas')
target.command(f'sed -i -e "s|/{usr}/gdk-pixbuf-.*/.*/loaders/||g" {appdir}/{lib}/gdk-pixbuf-*/*/loaders.cache')
# Stop anything loading from outside the AppImage