Skip to content

Commit

Permalink
Update apt sources
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Jul 2, 2023
1 parent 9308e7f commit b709d95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all: apt ssh install clean

apt:
apt-key adv --keyserver keyserver.ubuntu.com --recv 04EE7237B7D453EC
echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian buster main" > /etc/apt/sources.list
echo "deb https://mirrors.cloud.tencent.com/debian bookworm main" > /etc/apt/sources.list
apt update
apt install -y ansible openssh-client openssh-server sudo
echo > /etc/apt/sources.list
Expand Down Expand Up @@ -38,3 +38,6 @@ proxy:

addon:
sudo ansible-playbook addon.yml

rustpad:
docker run --rm -d -p 172.17.0.1:3030:3030 --name rustpad ekzhang/rustpad
2 changes: 1 addition & 1 deletion bin/x
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ if [[ "$1" = "-b" ]]; then
until [ -n "$(pgrep -f cinnamon-session)" ]; do
sleep 1
done
awesome-client 'awesome.restart()' || echo
sleep 1
awesome-client 'awesome.restart()' || echo
pkill cinnamon-screensaver || echo

# background
Expand Down
4 changes: 2 additions & 2 deletions etc/apt/sources.list.d/default.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/debian buster stable
deb [arch=amd64] http://mirrors.tuna.tsinghua.edu.cn/debian buster main contrib non-free
deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/debian bookworm stable
deb [arch=amd64] https://mirrors.cloud.tencent.com/debian bookworm main contrib
deb https://community-packages.deepin.com/deepin apricot main contrib non-free

0 comments on commit b709d95

Please sign in to comment.