rework random string generator

This commit is contained in:
LinuxSquare 2024-12-28 13:40:04 +01:00
parent 5c73fdd60b
commit 725ab46975
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: LinuxSquare <linuxsquare@noveria.org>
pkgname=pterodactyl-panel-compose
pkgver=1.11.10
pkgrel=7
pkgrel=8
pkgdesc="The Pterodactyl Panel"
arch="x86_64"
url="https://pterodactyl.io/"

View file

@ -4,7 +4,7 @@ SHARE_DIR=$(PREFIX)/share
APP_TIMEZONE=$(shell readlink /etc/localtime | awk -F'/' '{print $$(NF-1)"/"$$(NF)}')
MYSQL_PASSWORD=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c32)
MYSQL_ROOT_PASSWORD=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c32)
RANDOM_STRING=$(shell cat /dev/urandom | tr -dc '0-9!+&,.-' | fold -w 20 | head -n 1)
RANDOM_STRING=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c20)
install: install-compose install-service