Commit 3334a89d807ef65de98914386cb2c5f19dc40af4

Authored by Jay Berkenbilt
1 parent a8b6ff57

AppImage: warn if older than Ubuntu 16.04

14.04 has been out of security support for a while.
Showing 1 changed file with 2 additions and 2 deletions
appimage/build-appimage
... ... @@ -49,14 +49,14 @@ fi
49 49 _osversion=$(cat /etc/os-release | grep PRETTY_NAME | awk -F'=' '{print $2}' | sed 's#"##g')
50 50  
51 51 # Warn users building the AppImage locally:
52   -if [[ ! $_osversion =~ Ubuntu\ 14.04.*\ LTS ]]; then
  52 +if [[ ! $_osversion =~ Ubuntu\ 16.04.*\ LTS ]]; then
53 53 set +x
54 54 echo ""
55 55 # 0 1 2 3 4 5 6 7
56 56 # 01234567890123456789012345678901234567890123456789012345678901234567890123456789
57 57 echo "+===========================================================================+"
58 58 echo "|| WARNING: You are about to build a QPDF AppImage on a system which is ||"
59   - echo "|| NOT Ubuntu 14.04 LTS ('Trusty'). ||"
  59 + echo "|| NOT Ubuntu 16.04 LTS ('Xenial'). ||"
60 60 echo "|| ||"
61 61 echo "|| It is recommended that you use a distribution that is at least a ||"
62 62 echo "|| few years old to maximize the number of Linux distributions the ||"
... ...