2021-09-21 00:25:53 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# COMMON VARIABLES
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
# dependencies used by the app
|
2021-09-23 20:12:33 +02:00
|
|
|
pkg_dependencies="postgresql"
|
2021-09-21 00:25:53 +02:00
|
|
|
|
2021-09-21 02:09:11 +02:00
|
|
|
NODEJS_VERSION=14
|
2021-09-23 20:12:33 +02:00
|
|
|
|
2021-09-21 00:25:53 +02:00
|
|
|
#=================================================
|
|
|
|
# PERSONAL HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
2021-11-11 18:06:47 +01:00
|
|
|
ynh_hex_32_random() {
|
2022-04-18 11:17:51 +02:00
|
|
|
echo "$(tr -dc 'A-F0-9' < /dev/urandom | head -c64)"
|
2021-11-11 18:06:47 +01:00
|
|
|
}
|
|
|
|
|
2021-09-21 00:25:53 +02:00
|
|
|
#=================================================
|
|
|
|
# EXPERIMENTAL HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# FUTURE OFFICIAL HELPERS
|
|
|
|
#=================================================
|