mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
switch to hybrid
This commit is contained in:
parent
8083862103
commit
7725c78aa6
31
root/etc/s6-overlay/s6-rc.d/init-mod-lidarr-flac2mp3-add-package/run
Executable file
31
root/etc/s6-overlay/s6-rc.d/init-mod-lidarr-flac2mp3-add-package/run
Executable file
@ -0,0 +1,31 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
cat <<EOF
|
||||
----------------
|
||||
>>> Flac2MP3 Mod by TheCaptain989 <<<
|
||||
Repos:
|
||||
Dev/test: https://github.com/TheCaptain989/lidarr-flac2mp3
|
||||
Prod: https://github.com/linuxserver/docker-mods/tree/lidarr-flac2mp3
|
||||
|
||||
Version: {{VERSION}}
|
||||
----------------
|
||||
EOF
|
||||
|
||||
# Determine if setup is needed
|
||||
if [ ! -f /usr/bin/ffmpeg ]; then
|
||||
echo "**** Adding ffmpeg to package install list ****"
|
||||
echo "ffmpeg" >> /mod-repo-packages-to-install.list
|
||||
fi
|
||||
|
||||
# Change ownership
|
||||
if [ $(stat -c '%G' /usr/local/bin/flac2mp3.sh) != "abc" ]; then
|
||||
echo "Changing ownership on scripts."
|
||||
chown abc:abc /usr/local/bin/flac2*.sh
|
||||
fi
|
||||
|
||||
# Make executable
|
||||
if [ ! -x /usr/local/bin/flac2mp3.sh ]; then
|
||||
echo "Making scripts executable."
|
||||
chmod +x /usr/local/bin/flac2*.sh
|
||||
fi
|
||||
|
||||
@ -0,0 +1 @@
|
||||
oneshot
|
||||
@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-lidarr-flac2mp3-add-package/run
|
||||
0
root/usr/local/bin/flac2alac.sh
Normal file → Executable file
0
root/usr/local/bin/flac2alac.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3-debug-2.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3-debug-2.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3-debug.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3-debug.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3-vbr.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3-vbr.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3.sh
Normal file → Executable file
0
root/usr/local/bin/flac2mp3.sh
Normal file → Executable file
0
root/usr/local/bin/flac2opus.sh
Normal file → Executable file
0
root/usr/local/bin/flac2opus.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user