Skip to content

Commit

Permalink
feat(builditctl.bash): add clean-src to clear SRCS/*
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai committed Jun 13, 2024
1 parent a8c910c commit 7ec2d00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/builditctl.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ while read i; do
&& printf "OK!\n" \
|| printf "Failed to update contributor pubkeys on $server_name ($server_port)!\n"
;;
clean-src)
printf "Clearing source cache on $server_name ($server_port) ... "
ssh -n [email protected] -p $server_port \
"rm -r /buildroots/buildit/SRCS/*" \
&& printf "OK!\n" \
|| printf "Failed to clear source cache on $server_name ($server_port)!\n"
;;
fastfetch-upgrade)
printf "Upgrading bashrc to use fastfetch on $server_name ($server_port) ... "
ssh -n [email protected] -p $server_port \
Expand Down

0 comments on commit 7ec2d00

Please sign in to comment.