You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
* Linux: update install script to remove command -v check * Formatting change * spacing
This commit is contained in:
@ -83,22 +83,20 @@ fi
|
|||||||
#-----------------------------------------------------
|
#-----------------------------------------------------
|
||||||
showLogo
|
showLogo
|
||||||
|
|
||||||
|
#-----------------------------------------------------
|
||||||
print "Checking architecture..."
|
print "Checking architecture..."
|
||||||
# Architecture check
|
## uname actually gives more information than needed, but it contains all architectures (hardware and software)
|
||||||
if ! [[ -x "$(command -v uname)" ]] ; then
|
ARCHITECTURE=$(uname -a || echo "NO CHECK")
|
||||||
print "${COLOR_YELLOW}WARNING: Can't get system architecture, skipping check${COLOR_RESET}"
|
|
||||||
else
|
|
||||||
## this actually gives more information than needed, but it contains all architectures (hardware and software)
|
|
||||||
ARCHITECTURE=$(uname -a)
|
|
||||||
|
|
||||||
if [[ $ARCHITECTURE =~ .*aarch.*|.*arm.* ]] ; then
|
if [[ $ARCHITECTURE = "NO CHECK" ]] ; then
|
||||||
|
print "${COLOR_YELLOW}WARNING: Can't get system architecture, skipping check${COLOR_RESET}"
|
||||||
|
elif [[ $ARCHITECTURE =~ .*aarch.*|.*arm.* ]] ; then
|
||||||
showHelp "Arm systems are not officially supported by Joplin, please search the forum (https://discourse.joplinapp.org/) for more information"
|
showHelp "Arm systems are not officially supported by Joplin, please search the forum (https://discourse.joplinapp.org/) for more information"
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ $ARCHITECTURE =~ .*i.86.* ]] ; then
|
elif [[ $ARCHITECTURE =~ .*i386.*|.*i686.* ]] ; then
|
||||||
showHelp "32-bit systems are not supported by Joplin, please search the forum (https://discourse.joplinapp.org/) for more information"
|
showHelp "32-bit systems are not supported by Joplin, please search the forum (https://discourse.joplinapp.org/) for more information"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
#-----------------------------------------------------
|
#-----------------------------------------------------
|
||||||
# Download Joplin
|
# Download Joplin
|
||||||
|
Reference in New Issue
Block a user