summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-21 23:08:32 +0200
committerCarl Hetherington <cth@carlh.net>2025-11-27 11:58:47 +0100
commit00f14190e5f61894151709c03035ecfed0533c50 (patch)
tree1cf0a713de1cd2fcfd903d479ce7b572e6319c8f
parent7a62e4fb8a32ac4064ae366bef23ed7100c26e69 (diff)
Allow appimage builds on Ubuntu 14.04 by using apt-get rather than apt.
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index c29e04834..c537245ec 100644
--- a/cscript
+++ b/cscript
@@ -831,7 +831,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')