aboutsummaryrefslogtreecommitdiffstats
path: root/appimage
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-01-20 21:04:51 +0100
committerJay Berkenbilt <ejb@ql.org>2020-01-20 21:04:51 +0100
commit3334a89d807ef65de98914386cb2c5f19dc40af4 (patch)
treec486ba4b5b40a9ff3e88e20dc9df433b3cc4a214 /appimage
parenta8b6ff5763ea85f124e6d2be962d0ed34586b7f8 (diff)
downloadqpdf-3334a89d807ef65de98914386cb2c5f19dc40af4.tar.zst
AppImage: warn if older than Ubuntu 16.04
14.04 has been out of security support for a while.
Diffstat (limited to 'appimage')
-rwxr-xr-xappimage/build-appimage4
1 files changed, 2 insertions, 2 deletions
diff --git a/appimage/build-appimage b/appimage/build-appimage
index 2286ede0..290633b9 100755
--- a/appimage/build-appimage
+++ b/appimage/build-appimage
@@ -49,14 +49,14 @@ fi
_osversion=$(cat /etc/os-release | grep PRETTY_NAME | awk -F'=' '{print $2}' | sed 's#"##g')
# Warn users building the AppImage locally:
-if [[ ! $_osversion =~ Ubuntu\ 14.04.*\ LTS ]]; then
+if [[ ! $_osversion =~ Ubuntu\ 16.04.*\ LTS ]]; then
set +x
echo ""
# 0 1 2 3 4 5 6 7
# 01234567890123456789012345678901234567890123456789012345678901234567890123456789
echo "+===========================================================================+"
echo "|| WARNING: You are about to build a QPDF AppImage on a system which is ||"
- echo "|| NOT Ubuntu 14.04 LTS ('Trusty'). ||"
+ echo "|| NOT Ubuntu 16.04 LTS ('Xenial'). ||"
echo "|| ||"
echo "|| It is recommended that you use a distribution that is at least a ||"
echo "|| few years old to maximize the number of Linux distributions the ||"