This commit is contained in:
qiaofeng1227 2023-05-22 10:48:58 +08:00
parent 55455143cf
commit 1ccb86813b
2 changed files with 6 additions and 1 deletions

View file

@ -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
```

View file

@ -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."