1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00
outline_ynh/scripts/_common.sh
Éric Gaspar 50380de400 v2
2023-10-09 12:14:47 +02:00

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
#=================================================