-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
mkdir -p /tmp/fishinstall/tools/translation/assets | ||
wget http://mirror.fishros.com/install/install.py -O /tmp/fishinstall/install.py 2>>/dev/null | ||
export FISHROS_URL="http://mirror.fishros.com/install" | ||
wget `echo $FISHROS_URL`/install.py -O /tmp/fishinstall/install.py 2>>/dev/null | ||
source /etc/profile | ||
# 强制解锁,太多用户遇到这个问题了,没办法,后续想个办法解决下 | ||
# 强解可能会有依赖问题 | ||
# sudo rm /var/cache/apt/archives/lock | ||
# sudo rm /var/lib/dpkg/lock | ||
# sudo rm /var/lib/dpkg/lock-frontend | ||
if [ $UID -eq 0 ];then | ||
apt-get install sudo | ||
fi | ||
sudo apt install python3-distro python3-yaml -y | ||
sudo python3 /tmp/fishinstall/install.py | ||
sudo -E python3 /tmp/fishinstall/install.py | ||
sudo rm -rf /tmp/fishinstall/ | ||
sudo rm fishros | ||
. ~/.bashrc | ||
. ~/.zshrc 2>/dev/null | ||
. ~/.zshrc 2>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters