Compare commits
2 commits
fa9a7a1064
...
6ecce2688c
Author | SHA1 | Date | |
---|---|---|---|
|
6ecce2688c | ||
|
ad247fa21e |
2 changed files with 10 additions and 14 deletions
16
man
16
man
|
@ -1,22 +1,18 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3.
|
||||
.TH BETA "1" "June 2021" "beta 21.06.28.1a" "User Commands"
|
||||
.TH SPKG:11: "1" "June 2021" "spkg:11: parse error near `&&'" "User Commands"
|
||||
.SH NAME
|
||||
beta \- manual page for beta 21.06.28.1a
|
||||
spkg:11: \- manual page for spkg:11: parse error near `&&'
|
||||
.SH DESCRIPTION
|
||||
sPKG via WGET, to cache, just type in sudo spkg cache save.
|
||||
.IP
|
||||
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
|
||||
\&./spkg:11: parse error near `&&'
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
.B beta
|
||||
.B spkg:11:
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
.B beta
|
||||
.B spkg:11:
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info beta
|
||||
.B info spkg:11:
|
||||
.PP
|
||||
should give you access to the complete manual.
|
||||
|
|
8
spkg
8
spkg
|
@ -4,11 +4,11 @@ func()
|
|||
# NOTE: sPKG via wget CAN'T RUN WITHOUT MAKE!!!
|
||||
# ALNUX might not have MAKE!!! We tried porting it, dependiecies are fucked.
|
||||
# Correction here in the latest build, you have to run setup to install make, so not that fucked.
|
||||
source=git.hippoz.xyz/spkg/repo
|
||||
beta=false
|
||||
source=git.hippoz.xyz/spkg/repos
|
||||
# THIS IS UT.BETA
|
||||
case ${1} in
|
||||
setup) cp ./spkg /usr/bin/spkg && chmod +x /usr/bin/spkg && mkdir /etc/ && mv os-release /etc/ ;;
|
||||
remove) pushd && for fname in $@ && cd /usr/src/${2} && make uninstall && popd ;;
|
||||
remove) pushd && for fname in $@ && cd /usr/src/${2} && make uninstall && cd .. && rm -rf ${2} && sed "s/${2}//" /var/cache/spkg.cache && popd ;;
|
||||
install) case ${2} in
|
||||
--root-dir=) pushd && for fname in $@ && mkdir ${4}/usr/src/${3} 2>/dev/null && wget $source/${3}/Makefile ${4}/usr/src/${3}/Makefile && cd ${4}/usr/src/${3} && make prepare && make && make install && cat ${3} > ${4}/var/cache/spkg.cache && popd || echo 'Invalid package.' && popd ;;
|
||||
*) pushd && for fname in $@ && mkdir /usr/src/${3} 2>/dev/null && wget $source/${3}/Makefile /usr/src/${3}/Makefile && cd /usr/src/${3} && make prepare && make && make install && cat ${3} > /var/cache/spkg.cache && ${3} --version > /var/cache/spkg.cache && popd || echo 'Invalid package.' && popd ;;
|
||||
|
@ -32,5 +32,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.29.1a' ;;
|
||||
--version) echo 'beta 21.06.29.2a.ut' ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue