OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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