Merge pull request #826 from mechanarchy/patch-2

Fix sed error in calibre-web
This commit is contained in:
Alexandre
2023-05-06 08:18:12 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -103,6 +103,6 @@
},
"slug": "calibre-web",
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/calibre_web",
"version": "0.6.20-ls208",
"version": "0.6.20-ls208-2",
"video": true
}

View File

@@ -1,5 +1,5 @@
#!/bin/bash
if [ -f /etc/cont-init.d/00-smb_mounts.sh ]; then
sed -i "s|cifs -o \"|cifs -o \"nobrl," /etc/cont-init.d/00-smb_mounts.sh
sed -i "s|cifs -o \"|cifs -o \"nobrl,|g" /etc/cont-init.d/00-smb_mounts.sh
fi