maint: switch from notabug to codeberg

This commit is contained in:
Henning Bocklage 2020-07-24 19:32:41 +02:00
parent d978a915a0
commit ef69c1fb02
3 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,8 @@
# Changelog
## 2020-07-24
- Updated code to pull from codeberg instead of notabug
## 2020-06-12
- Added UMASK_SET environment variable (I misunderstood how it worked.. now it should work)

View File

@ -79,13 +79,17 @@ To access the web interface, go to http://YOURSERVERIP:6595
Tag includes `amd64`, `arm32v7` and `arm64v8` architectures.
## Changelog
See CHANGELOG.md
## Disclaimer and Links
I am in no way affiliated with the Deemix project (or any other Deezloader-like project for that matter).
Gitlab link for this container: https://gitlab.com/Bockiii/deemix-docker
Repo for Deemix: https://notabug.org/RemixDev/deemix
Repo for Deemix: https://codeberg.org/RemixDev/deemix
Issue Tracker for this Docker: https://gitlab.com/Bockiii/deemix-docker/-/issues

View File

@ -6,12 +6,12 @@ echo "[cont-init.d] Downloading and unpacking"
if [ ! -f "/deemix/server.py" ]; then
echo "[cont-init.d] First start, cloning repo"
git clone --recurse-submodules https://notabug.org/RemixDev/deemix-pyweb.git deemix
git clone --recurse-submodules https://codeberg.org/RemixDev/deemix-pyweb.git deemix
touch /deemix/updated
else
cd /deemix
localv=$(git rev-parse HEAD)
remotev=$(git ls-remote https://notabug.org/RemixDev/deemix-pyweb.git refs/heads/master | cut -c1-40)
remotev=$(git ls-remote https://codeberg.org/RemixDev/deemix-pyweb.git refs/heads/master | cut -c1-40)
if [ $localv = $remotev ]; then
echo -e "[cont-init.d] Latest Version. No update needed"
else