OSDN Git Service

fix instantshutdown
[instantos/instantOS.git] / repo.sh
1 #!/bin/bash
2
3 echo "adding instantOS repo"
4
5 if ! grep -q 'instantos\.surge\.sh' /etc/pacman.conf; then
6     echo "[instant]" >>/etc/pacman.conf
7     echo "SigLevel = Optional TrustAll" >>/etc/pacman.conf
8     echo "Server = http://instantos.surge.sh" >>/etc/pacman.conf
9 fi