summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-21 23:08:32 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-17 16:47:26 +0200
commitbb96c4ddfa3bace18728df9d1bb10ac0a05f9b29 (patch)
treea37c904f2c4a92a44f40047f06c8f488dd931598 /cscript
parent92523a2d615e62a90a697e32d729641e72c2e545 (diff)
apt has to be apt-get to work on Ubuntu 14.04.appimage-on-ubuntu-14
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index c5cdd6bf4..7e8c47585 100644
--- a/cscript
+++ b/cscript
@@ -815,7 +815,7 @@ def make_appimage(target, nice_name, internal_name, version, extra_binaries=None
target.command(f'cp -a /{lib}/gdk-pixbuf-2.0 build/{nice_filename}.AppDir/usr/lib/x86_64-linux-gnu/')
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'apt-get download {package}')
target.command(f'dpkg-deb -x {package}*.deb {appdir}')
target.command(f'glib-compile-schemas {appdir}/usr/share/glib-2.0/schemas')
target.command(f'sed -i -e "s|/usr/lib/x86_64-linux-gnu/gdk-pixbuf-.*/.*/loaders/||g" {appdir}/usr/lib/x86_64-linux-gnu/gdk-pixbuf-*/*/loaders.cache')