supplied git.
This commit is contained in:
parent
e0e770f993
commit
477452d0ae
2 changed files with 1 additions and 1 deletions
BIN
git
Executable file
BIN
git
Executable file
Binary file not shown.
2
spkg
2
spkg
|
@ -6,7 +6,7 @@
|
|||
source=git.hippoz.xyz/spkg/repo
|
||||
beta=false
|
||||
case ${1} in
|
||||
setup) mv ./make /usr/bin/make && mkdir /etc/ && mv os-release /etc/ ;;
|
||||
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/ ;;
|
||||
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 ;;
|
||||
|
|
Loading…
Reference in a new issue