Skip to content
Snippets Groups Projects
Commit 08441a83 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

nobody/nogroup

parent 6dea25b7
Branches master
No related tags found
No related merge requests found
#! /bin/bash
# Rolf Niepraschk (Rolf.Niepraschk@ptb.de), 2023-12-20
# Rolf Niepraschk (Rolf.Niepraschk@ptb.de), 2025-04-23
# Installiert eine neue Version vom zugehörigen GIT-Repositorium
# und lädt den Server-Prozess neu.
......@@ -12,7 +12,12 @@
PROJECT="cal"
GITLAB_URL=https://gitlab1.ptb.de/vaclab/${PROJECT}/-/archive/master/${PROJECT}-master.tar.gz
DEST_USER=nobody
DEST_GROUP=nobody
if [ $(getent group nobody) ]; then
DEST_GROUP=nobody
else
DEST_GROUP=nogroup
fi
# Struktur des tar-Archives herunterladen und gleichzeitig entpacken
curl -s -o - ${GITLAB_URL} | tar -xzf - --strip-components=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment