Compare commits
No commits in common. "6ecce2688c6b33596e784be3a98ab844b1f3f394" and "fa9a7a106403bf47a7632ca989b2892fccfdb403" have entirely different histories.
6ecce2688c
...
fa9a7a1064
2 changed files with 14 additions and 10 deletions
16
man
16
man
|
@ -1,18 +1,22 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3.
|
||||
.TH SPKG:11: "1" "June 2021" "spkg:11: parse error near `&&'" "User Commands"
|
||||
.TH BETA "1" "June 2021" "beta 21.06.28.1a" "User Commands"
|
||||
.SH NAME
|
||||
spkg:11: \- manual page for spkg:11: parse error near `&&'
|
||||
beta \- manual page for beta 21.06.28.1a
|
||||
.SH DESCRIPTION
|
||||
\&./spkg:11: parse error near `&&'
|
||||
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
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
.B spkg:11:
|
||||
.B beta
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
.B spkg:11:
|
||||
.B beta
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info spkg:11:
|
||||
.B info beta
|
||||
.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/repos
|
||||
# THIS IS UT.BETA
|
||||
source=git.hippoz.xyz/spkg/repo
|
||||
beta=false
|
||||
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 && cd .. && rm -rf ${2} && sed "s/${2}//" /var/cache/spkg.cache && popd ;;
|
||||
remove) pushd && for fname in $@ && cd /usr/src/${2} && make uninstall && 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.2a.ut' ;;
|
||||
--version) echo 'beta 21.06.29.1a' ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue