mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
27 lines
747 B
Bash
27 lines
747 B
Bash
#!/bin/bash
|
|
|
|
#=================================================
|
|
# COMMON VARIABLES
|
|
#=================================================
|
|
|
|
# dependencies used by the app
|
|
#REMOVEME? pkg_dependencies="postgresql"
|
|
|
|
NODEJS_VERSION=18
|
|
|
|
#=================================================
|
|
# PERSONAL HELPERS
|
|
#=================================================
|
|
|
|
# FIXME : to be replaced in the future by ynh_string_random(hex)
|
|
ynh_hex_32_random() {
|
|
echo "$(tr -dc 'A-F0-9' < /dev/urandom | head -c64)"
|
|
}
|
|
|
|
#=================================================
|
|
# EXPERIMENTAL HELPERS
|
|
#=================================================
|
|
|
|
#=================================================
|
|
# FUTURE OFFICIAL HELPERS
|
|
#=================================================
|