From 9a1841865ae4ddaf12095ec351a590bab9436850 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Mon, 28 Jun 2021 13:55:14 +0200 Subject: [PATCH] June V2 SPKG rel, added os-rel. --- os-release | 10 ++++++++++ spkg | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 os-release diff --git a/os-release b/os-release new file mode 100644 index 0000000..5f2c674 --- /dev/null +++ b/os-release @@ -0,0 +1,10 @@ +NAME="T OS Beta" +PRETTY_NAME="T OS Beta" +ID=tos +BUILD_ID=rolling +ANSI_COLOR="38;2;23;147;209" +HOME_URL="" +DOCUMENTATION_URL="" +SUPPORT_URL="" +BUG_REPORT_URL="" +LOGO=tos diff --git a/spkg b/spkg index d6bb41e..caaf393 100755 --- a/spkg +++ b/spkg @@ -6,7 +6,7 @@ source=git.hippoz.xyz/spkg/repo beta=false case ${1} in - setup) ./make /usr/bin/make ;; + setup) mv ./make /usr/bin/make && 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 ;;