beta 1b
This commit is contained in:
parent
3587a6196f
commit
ac36a8bd1f
1 changed files with 2 additions and 3 deletions
5
spkg
5
spkg
|
@ -6,7 +6,7 @@
|
|||
source=git.hippoz.xyz/spkg/repo
|
||||
beta=false
|
||||
case ${1} in
|
||||
setup) mv ./make /usr/bin/make && mv ./git /usr/bin/git && cp ./spkg /usr/bin/spkg && chmod +x /usr/bin/git && mkdir /etc/ && mv os-release /etc/ ;;
|
||||
setup) mv ./deps/* /usr/bin/ && cp ./spkg /usr/bin/spkg && chmod +x /usr/bin/git && mkdir /etc/ && mv os-release /etc/ ;;
|
||||
remove) pushd && cd /usr/src/${2} && make uninstall && popd ;;
|
||||
install) case ${2} in
|
||||
--root-dir=) pushd && mkdir /usr/src/${3} 2>/dev/null && wget $source/${3}/Makefile /usr/src/${3}/Makefile && cd /usr/src/${3} && make prepare && PREFIX=${4} make && make install && cat ${3} > /var/cache/spkg.cache && popd || echo 'Invalid package.' && popd ;;
|
||||
|
@ -31,6 +31,5 @@ case ${1} in
|
|||
to install, just type in sudo spkg install.
|
||||
to update, just type in sudo spkg update.
|
||||
to setup (IMPORTANT!!!), just type in sudo spkg setup' ;;
|
||||
--version) echo 'beta 21.06.28.1a' ;;
|
||||
--to-do) echo 'change tos to something else.'
|
||||
--version) echo 'beta 21.06.28.1b' ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue