From: Carl Hetherington Date: Fri, 31 Dec 2021 20:23:47 +0000 (+0000) Subject: Try to fix failure to download .debs when building appimage. X-Git-Tag: v2.15.182 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=746d41f02bdb8aa28be0e1aaa0e2fb4409f28fad Try to fix failure to download .debs when building appimage. --- diff --git a/cscript b/cscript index 7a76e133b..b77448ac3 100644 --- a/cscript +++ b/cscript @@ -709,6 +709,7 @@ def make_appimage(target, nice_name, internal_name, version): lib = 'usr/lib/x86_64-linux-gnu' 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/usr/lib/x86_64-linux-gnu/') + target.command('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']: target.command(f'apt download {package}') target.command(f'dpkg-deb -x {package}*.deb {appdir}')