A page in your DokuWiki was added or changed. Here are the details:

Date        : 2020/01/14 16:46
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:68.9) Gecko/20100101 
Goanna/4.4 Firefox/68.9 PaleMoon/28.8.1
IP-Address  : 2.205.169.115
Hostname    : dslb-002-205-169-115.002.205.pools.vodafone-ip.de
Old Revision: 
https://wiki.x2go.org/doku.php/doc:howto:nx-libs-betatesting?rev=1579020277
New Revision: https://wiki.x2go.org/doku.php/doc:howto:nx-libs-betatesting
Edit Summary: [Installation Instructions] Added an error-check for 
/etc/os-release
User        : stefanbaur

@@ -34,9 +34,14 @@
        echo 'This script must be run as root, or with sudo prefixed to its 
call.'
        exit 1
 fi
- . /etc/os-release
+ if [ -f /etc/os-release ] ; then
+       . /etc/os-release
+ else
+       echo '/etc/os-release not found. Unable to detect distribution.'
+       exit 1
+ fi
if [ 'debian' != "$ID" ] && [ "ubuntu" != "$ID" ]; then
        echo 'Unsupported distribution. Only Debian and Ubuntu are supported at 
the
moment.'
        exit 1


--
This mail was generated by DokuWiki at
https://wiki.x2go.org/

_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to