summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-12-31 20:23:47 +0000
committerCarl Hetherington <cth@carlh.net>2021-12-31 22:15:34 +0100
commit746d41f02bdb8aa28be0e1aaa0e2fb4409f28fad (patch)
treeb613b0aa4d6efec062d60d32f0fdbde05d40ff22 /cscript
parent056c4dd82342023636671b1afa333859eed7e32e (diff)
Try to fix failure to download .debs when building appimage.v2.15.182
Diffstat (limited to 'cscript')
-rw-r--r--cscript1
1 files changed, 1 insertions, 0 deletions
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}')