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

27 lines
671 B
Bash
Raw Normal View History

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