mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Simple bash is enough
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d /emby ]; then
|
||||
echo "Creating /emby"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
slug=flexget
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d /share/storage/movies ]; then
|
||||
echo "Creating /share/storage/movies"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d /jellyfin ]; then
|
||||
echo "Creating /jellyfin"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d /share/music ]; then
|
||||
echo "Creating /share/music"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
slug=nzbget
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
slug=ombi
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d /data/organizr ]; then
|
||||
echo "Creating /data/organizr"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
slug=paperless
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -d /share/storage/movies ]; then
|
||||
echo "Creating /share/storage/movies"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
#!/bin/bash
|
||||
|
||||
slug=ubooquity
|
||||
|
||||
|
||||
Reference in New Issue
Block a user