mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-22 05:25:15 +00:00
fix: strip v from release for karakeep version
This commit is contained in:
@@ -64,7 +64,7 @@ export DATA_DIR=/opt/karakeep_data
|
|||||||
karakeep_SECRET=$(openssl rand -base64 36 | cut -c1-24)
|
karakeep_SECRET=$(openssl rand -base64 36 | cut -c1-24)
|
||||||
mkdir -p /etc/karakeep
|
mkdir -p /etc/karakeep
|
||||||
cat <<EOF >/etc/karakeep/karakeep.env
|
cat <<EOF >/etc/karakeep/karakeep.env
|
||||||
SERVER_VERSION="$(cat ~/.karakeep)"
|
SERVER_VERSION="$(sed 's/^v//' ~/.karakeep)"
|
||||||
NEXTAUTH_SECRET="$karakeep_SECRET"
|
NEXTAUTH_SECRET="$karakeep_SECRET"
|
||||||
NEXTAUTH_URL="http://localhost:3000"
|
NEXTAUTH_URL="http://localhost:3000"
|
||||||
DATA_DIR=${DATA_DIR}
|
DATA_DIR=${DATA_DIR}
|
||||||
|
|||||||
Reference in New Issue
Block a user