rework random string generator
This commit is contained in:
parent
c6507398ad
commit
5c73fdd60b
2 changed files with 2 additions and 2 deletions
2
APKBUILD
2
APKBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: LinuxSquare <linuxsquare@noveria.org>
|
# Maintainer: LinuxSquare <linuxsquare@noveria.org>
|
||||||
pkgname=pterodactyl-panel-compose
|
pkgname=pterodactyl-panel-compose
|
||||||
pkgver=1.11.10
|
pkgver=1.11.10
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc="The Pterodactyl Panel"
|
pkgdesc="The Pterodactyl Panel"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
url="https://pterodactyl.io/"
|
url="https://pterodactyl.io/"
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ SHARE_DIR=$(PREFIX)/share
|
||||||
APP_TIMEZONE=$(shell readlink /etc/localtime | awk -F'/' '{print $$(NF-1)"/"$$(NF)}')
|
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_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)
|
MYSQL_ROOT_PASSWORD=$(shell head /dev/urandom | tr -dc 'A-Za-z0-9!?,.$%&+-:<=>@_' | head -c32)
|
||||||
RANDOM_STRING=$(shell tr -dc '0-9!#&'\''+,-./:;<=>?@\^_|~' </dev/urandom | head -c20)
|
RANDOM_STRING=$(shell cat /dev/urandom | tr -dc '0-9!+&,.-' | fold -w 20 | head -n 1)
|
||||||
|
|
||||||
install: install-compose install-service
|
install: install-compose install-service
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue