Skip to content

Commit

Permalink
fix: don't always fail chaotictrigger second case
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Nov 3, 2023
1 parent 120c1e1 commit f58e81b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nixos/hosts/repo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ let
chaotic -j 4 routine garuda
;;
"chaotictrigger"* )
chaotic get "$1"
chaotic mkd "$1"
git clone https://gitlab.com/garuda-linux/pkgbuilds /tmp/chaotictrigger
cd /tmp/chaotictrigger
chaotic mkd $(echo "$SSH_ORIGINAL_COMMAND" | cut -d' ' -f2-)
rm -rf /tmp/chaotictrigger
;;
*)
echo "Access only allowed for building purposes!"
Expand Down

0 comments on commit f58e81b

Please sign in to comment.