poesty 1 gadu atpakaļ
vecāks
revīzija
b867361966
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      update/update_rss-bridge.sh

+ 1 - 1
update/update_rss-bridge.sh

@@ -3,5 +3,5 @@ cd /root
 wget https://github.com/Rss-Bridge/rss-bridge/archive/master.zip
 unzip master.zip
 find rss-bridge-master/ -name "*.php" -exec sed -i "s/parse_ini_file(\([^,]*\),.*)/parse_ini_string(file_get_contents(\1), true, INI_SCANNER_TYPED)/g" {} +
-lftp -c "set sftp:auto-confirm yes; open sftp://[REDACTED]; mirror -Rev rss-bridge-master/ [REMOTE]/ --only-newer --parallel=10 -X config.ini.php -X whitelist.default.txt -X cache/"
+lftp -c "set sftp:auto-confirm yes; open sftp://[REDACTED]; mirror -Rev rss-bridge-master/ [REMOTE]/ --only-newer --parallel=10 -X config.ini.php -X whitelist.txt -X cache/"
 rm -r rss-bridge-master/ master.zip