Add altools/sel, altools/repo, install.sh & add config file support. #8
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@ else
|
||||||
# update a repo
|
# update a repo
|
||||||
update) pushd && cd /var/aps/repos/${2} && git pull && popd ;;
|
update) pushd && cd /var/aps/repos/${2} && git pull && popd ;;
|
||||||
# destroy a repo (remove)
|
# destroy a repo (remove)
|
||||||
destroy) rm -rfv /var/aps/repos/${2} ;;
|
destroy) rm -rfv /var/aps/repos/${2}
|
||||||
|
sed -i "/^${2}/d" /etc/al/repo.conf
|
||||||
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue