Simple bash is enough

This commit is contained in:
Alexandre
2021-12-29 16:48:23 +01:00
parent 189ae3c995
commit 085bbf1241
17 changed files with 21 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /share/storage/movies ]; then
echo "Creating /share/storage/movies"
@@ -23,4 +23,4 @@ if [ ! -d /config/addons_config/bazarr ]; then
echo "Creating /config/addons_config/bazarr"
mkdir -p /config/addons_config/bazarr
chown -R abc:abc /config/addons_config/bazarr
fi
fi

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /emby ]; then
echo "Creating /emby"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ -d /config/filebrowser ]; then
echo "Moving to new location /config/addons_config/filebrowser"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
slug=flexget

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /share/storage/movies ]; then
echo "Creating /share/storage/movies"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /jellyfin ]; then
echo "Creating /jellyfin"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /share/music ]; then
echo "Creating /share/music"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
slug=nzbget

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
slug=ombi

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /data/organizr ]; then
echo "Creating /data/organizr"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
slug=paperless

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
##################
# SYMLINK CONFIG #
@@ -40,4 +40,3 @@ fi
# CORRECT CONFIG #
##################
sed -i 's|E_ALL|""|g' /share/piwigo/config/config.inc.php && echo "config corrected for php error" || true

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
##################
# SYMLINK CONFIG #
@@ -7,8 +7,8 @@
echo "Database stored in /share/plex"
if [ ! -d "/share/plex/Plex Media Server" ]; then
echo "... creating /share/plex/Plex Media Server"
mkdir -p "/share/plex/Plex Media Server"
echo "... creating /share/plex/Plex Media Server"
mkdir -p "/share/plex/Plex Media Server"
fi
if [ -d "/config/Library/Application Support/Plex Media Server" ]; then

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ -d /config/prowlarr ]; then
echo "Moving to new location /config/addons_config/prowlarr"
@@ -11,4 +11,4 @@ if [ ! -d /config/addons_config/prowlarr ]; then
echo "Creating /config/addons_config/prowlarr"
mkdir -p /config/addons_config/prowlarr
chown -R abc:abc /config/addons_config/prowlarr
fi
fi

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /share/storage/movies ]; then
echo "Creating /share/storage/movies"
@@ -24,4 +24,3 @@ if [ ! -d /config/addons_config/radarr ]; then
mkdir -p /config/addons_config/radarr
chown -R abc:abc /config/addons_config/radarr
fi

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
if [ ! -d /share/storage/movies ]; then
echo "Creating /share/storage/movies"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/bin/bash
slug=ubooquity