From c79f68464ddbdebbbb1a7b7b76d9e70774024ea4 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 27 Sep 2017 13:41:21 -0700 Subject: [PATCH] The `-u` option is not always available (testing on Ubuntu) --- app/build/resources/linux/debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build/resources/linux/debian/postinst b/app/build/resources/linux/debian/postinst index 0bd6db615..2faf4359d 100755 --- a/app/build/resources/linux/debian/postinst +++ b/app/build/resources/linux/debian/postinst @@ -23,7 +23,7 @@ case "$1" in gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1 DISTRO=`lsb_release -s -i` - DISTRO_UPSTREAM=`lsb_release -s -i -u` + DISTRO_UPSTREAM=`lsb_release -s -i -u || true` if [ "$DISTRO" = "Ubuntu" ] || [ "$DISTRO_UPSTREAM" = "Ubuntu" ]; then DISTS=$UBUNTU_CODENAMES