Add mealie

This commit is contained in:
thomas 2022-11-19 19:56:01 +01:00
parent 0394ae6c11
commit d020bef34c
33 changed files with 332 additions and 19 deletions

View file

@ -26,13 +26,15 @@ configure_depot_yarn() {
}
configure_depot_nodejs() {
NODE_VERSION=16.x
NODE_VERSION=16
[ ! "$1" == "" ] && NODE_VERSION=$1
grep -q 16.x /etc/apt/sources.list.d/nodesource.list
XNODE_VERSION=${NODE_VERSION}.x
grep -q ${XNODE_VERSION} /etc/apt/sources.list.d/nodesource.list
if [ $? -ne 0 ]
then
wget -qO - https://deb.nodesource.com/setup_${NODE_VERSION} | bash
wget -qO - https://deb.nodesource.com/setup_${XNODE_VERSION} | bash
fi
echo -e "Package: nodejs\\nPin: version ${NODE_VERSION}.*\\nPin-Priority: 1000" > /etc/apt/preferences.d/nodejs
}
install_go() {