fork for custom modes

dev
alex 2025-01-15 06:25:14 +00:00
parent 5d850dc322
commit baa98079a1
Signed by: x1ddos
GPG Key ID: 540189B756BF5B12
3 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# https://gitlab.torproject.org/tpo/core/tor/-/blob/main/src/config/torrc.sample.in # https://gitlab.torproject.org/tpo/core/tor/-/blob/main/src/config/torrc.sample.in
# #
# NOTE: this file is auto-updated by nakamochi sysupdates # NOTE: this file is auto-updated by nakamochi sysupdates
# https://github.com/nakamochi/sysupdates # https://git.qcode.ch/nakamochi/sysupdates
User tor User tor
Log notice syslog Log notice syslog

View File

@ -1,5 +1,5 @@
NDG_VERSION=v0.8.1 NDG_VERSION=v0.8.1
NDG_URL_AARCH64=https://github.com/nakamochi/ndg/releases/download/v0.8.1/ndg-v0.8.1-aarch64.tar.gz NDG_URL_AARCH64=https://git.qcode.ch/attachments/8c9a6d54-0691-4835-8158-c6c06fb9846a
NDG_SHA256_AARCH64=d67fd26149dd13900125a6ebfc527028110f8f71dfb2ae311f7a9ca0f99ceff0 NDG_SHA256_AARCH64=d67fd26149dd13900125a6ebfc527028110f8f71dfb2ae311f7a9ca0f99ceff0
NDG_HOME=/home/uiuser NDG_HOME=/home/uiuser

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# https://github.com/nakamochi/sysupdates # https://git.qcode.ch/nakamochi/sysupdates
# pull changes from a remote git repo and run the "apply" script. # pull changes from a remote git repo and run the "apply" script.
# commits are expected to be signed by gpg keys with a sufficient # commits are expected to be signed by gpg keys with a sufficient
# trust level to satisfy git pull --verify-signatures. # trust level to satisfy git pull --verify-signatures.
@ -8,6 +8,7 @@
# in the future, the plan is to provide an on-screen git diff and apply updates # in the future, the plan is to provide an on-screen git diff and apply updates
# after user confirmation. # after user confirmation.
REPO="${REPO:-https://git.qcode.ch/nakamochi/sysupdates.git}"
# git branch to pull from. defaults to master. # git branch to pull from. defaults to master.
# another value is "dev", for a development aka unstable version. # another value is "dev", for a development aka unstable version.
BRANCH="${1:-master}" BRANCH="${1:-master}"
@ -33,7 +34,7 @@ date > $LOGFILE
# fetch updates from remote # fetch updates from remote
cd "$REPODIR" cd "$REPODIR"
{ {
git remote set-url origin https://github.com/nakamochi/sysupdates.git git remote set-url origin "$REPO"
git fetch origin # in case the refspec is unknown locally yet git fetch origin # in case the refspec is unknown locally yet
git reset --hard HEAD # remove local changes git reset --hard HEAD # remove local changes
git clean -fd # force-delete untracked files git clean -fd # force-delete untracked files