mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
The -u
option is not always available (testing on Ubuntu)
This commit is contained in:
parent
624450c0d6
commit
c79f68464d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ case "$1" in
|
||||||
gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1
|
gtk-update-icon-cache /usr/share/icons/hicolor > /dev/null 2>&1
|
||||||
|
|
||||||
DISTRO=`lsb_release -s -i`
|
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
|
if [ "$DISTRO" = "Ubuntu" ] || [ "$DISTRO_UPSTREAM" = "Ubuntu" ]; then
|
||||||
DISTS=$UBUNTU_CODENAMES
|
DISTS=$UBUNTU_CODENAMES
|
||||||
|
|
Loading…
Reference in a new issue