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
2023-11-26 23:35:30 +07:00

27 lines
736 B
Bash

#!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
# dependencies used by the app
pkg_dependencies="postgresql"
NODEJS_VERSION=20
#=================================================
# 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
#=================================================