mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-09-29 16:21:32 +00:00
files
This commit is contained in:
parent
55455143cf
commit
1ccb86813b
|
@ -38,5 +38,6 @@ wget -N https://websoft9.github.io/StackHub/scripts/install.sh; bash install.sh
|
|||
### stackhub include appstore
|
||||
|
||||
```
|
||||
sudo su # when your have no root password
|
||||
curl https://websoft9.github.io/StackHub/install/install.sh | bash
|
||||
```
|
||||
|
|
|
@ -72,11 +72,15 @@ os_version=$(get_os_version)
|
|||
|
||||
CheckEnvironment(){
|
||||
|
||||
echo "---------------------------------- Start to install websoft9's appstore, it will take 3-5 minutes -------------------------------------------------------"
|
||||
echo "---------------------------------- Welcome to install websoft9's appstore, it will take 3-5 minutes -------------------------------------------------------"
|
||||
|
||||
echo "Check environment ..."
|
||||
echo os_type: $os_type
|
||||
echo os_version: $os_version
|
||||
if [ $(id -u) != "0" ]; then
|
||||
echo "Please change to root or 'sudo su' to up system privileges, and reinstall the script again ."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ $(getconf WORD_BIT) = '32' ] && [ $(getconf LONG_BIT) = '64' ] ; then
|
||||
echo "64-bit operating system detected."
|
||||
|
|
Loading…
Reference in a new issue