Skip to content

Commit

Permalink
添加更新商店命令
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuchen Deng committed Nov 27, 2021
1 parent c8dc340 commit 8b49d04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions debian-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ EOF
source `dirname ${BASH_SOURCE[0]}`/base-config.sh debian


# 更新商店
cat > /usr/local/bin/debian-update-store <<EOF
#!/bin/bash
source /usr/local/bin/debian-config
machinectl shell debian /bin/bash -c "apt install wget -y && wget -O- https://deepin-wine.i-m.dev/setup.sh | sh"
EOF

chmod 755 /usr/local/bin/debian-update-store


# 安装所有
cat > /usr/local/bin/debian-install-all <<EOF
debian-install-qq
Expand Down
1 change: 1 addition & 0 deletions remove-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ fi
# 开始移除
source `dirname ${BASH_SOURCE[0]}`/base-remove.sh debian
rm -f /usr/local/bin/debian-terminal
rm -f /usr/local/bin/debian-update-store

0 comments on commit 8b49d04

Please sign in to comment.