-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPortfile.sh
executable file
·75 lines (74 loc) · 902 Bytes
/
Portfile.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env sh
sudo -v
while true
do
sudo -n true
sleep 60
kill -0 ${$} || exit
done 2>/dev/null &
sudo port -q selfupdate
for s in \
\
bash \
zsh \
\
`#rust` \
go \
python312 \
python27 \
`#ruby33` \
nodejs21 \
octave \
jq \
sqlite3 \
\
`#ruby-build` \
`#rbenv` \
`#pyenv` \
`#nvm` \
\
xhyve \
\
openssh \
openssl \
mosh \
\
blueutil \
mas \
\
git \
\
curl \
wget \
\
vim \
micro \
\
tmux \
\
unrar \
\
ffmpeg \
\
fswatch \
htop \
tree \
thefuck \
\
coreutils \
findutils \
grep \
\
cmus
\
do
#sudo port -f uninstall "${s}"
sudo port -q install "${s}"
done
sudo port -q select --set python python310
sudo port -q select --set python3 python310
sudo port -q select --set python2 python27
#sudo port -q select --set ruby ruby33
sudo port -q load openssh
#sudo port -N selfupdate && sudo port -N upgrade outdated; sudo port -N reclaim
exit 0