Skip to content

Commit b8b42b8

Browse files
committed
Removing binary packages from Macports instructions
1 parent 088a0d8 commit b8b42b8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -165,22 +165,13 @@ sudo bash <<'___'
165165
set -e
166166
pemurl=https://gershnik.com/macports-repo/macports.pem
167167
porturl=https://www.gershnik.com/macports-repo/ports.tar.bz2
168-
archurl=https://www.gershnik.com/macports-repo/archives
169168
prefix=$(dirname $(dirname $(which port)))
170169
pemfile="$prefix/share/macports/gershnik.pem"
171170
pubkeysfile="$prefix/etc/macports/pubkeys.conf"
172171
sourcesfile="$prefix/etc/macports/sources.conf"
173-
archfile="$prefix/etc/macports/archive_sites.conf"
174172
curl -s $pemurl > "$pemfile"
175173
grep -qxF "$pemfile" "$pubkeysfile" || echo $pemfile >> "$pubkeysfile"
176174
grep -qxF "$porturl" "$sourcesfile" || echo $porturl >> "$sourcesfile"
177-
if [ "$prefix" == "/opt/local" ]; then
178-
grep -qx "url\\s+$archurl\\s*" "$archfile" || (
179-
echo "" >> "$archfile"
180-
echo "name gershnik.com" >> "$archfile"
181-
echo "urls $archurl" >> "$archfile"
182-
)
183-
fi
184175
sudo port sync
185176
___
186177
```

0 commit comments

Comments
 (0)