summarylogtreecommitdiffstats
path: root/aur-accelerate-cn.install
blob: d7d4fb668fd7d39e0a8e828e88356b642a0e00d4 (plain)
1
2
3
4
5
6
7
post_install() {
  sed -i -e "s|'https::/usr/bin/curl -qgb \"\" -fLC - --retry 3 --retry-delay 3 -o %o %u'|'https::/opt/aur-accelerate-cn/start.sh %o %u'|" /etc/makepkg.conf
}

pre_remove() {
  sed -i -e "s|'https::/opt/aur-accelerate-cn/start.sh %o %u'|'https::/usr/bin/curl -qgb \"\" -fLC - --retry 3 --retry-delay 3 -o %o %u'|" /etc/makepkg.conf
}