diff --git a/localrss/install.sh b/localrss/install.sh index 09a60f2..c68cc18 100755 --- a/localrss/install.sh +++ b/localrss/install.sh @@ -25,8 +25,8 @@ if [ "${1}" = "modules" ]; then "channel": { "title": "RSS for DSM Auto Update", "link": "https://update.synology.com/autoupdate/v2/getList", - "pubDate": "Sat Aug 6 0:18:39 CST 2022", - "copyright": "Copyright 2022 Synology Inc", + "pubDate": "Sat May 4 20:30:02 CST 2024", + "copyright": "Copyright 2024 Synology Inc", "item": [ { "title": "DSM ${productversion}-${buildnumber}", @@ -61,8 +61,8 @@ EOF RSS for DSM Auto Update http://update.synology.com/autoupdate/genRSS.php - Tue May 9 11:52:15 CST 2023 - Copyright 2023 Synology Inc + Wed May 1 12:02:35 CST 2024 + Copyright 2024 Synology Inc DSM ${productversion}-${buildnumber} ${major} @@ -86,12 +86,13 @@ EOF EOF if [ -f /usr/syno/web/localrss.xml ]; then - cat /usr/syno/web/localrss.xml + # cat /usr/syno/web/localrss.xml sed -i "s|rss_server=.*$|rss_server=\"http://localhost:5000/localrss.xml\"|g" "/etc/synoinfo.conf" "/etc.defaults/synoinfo.conf" sed -i "s|rss_server_ssl=.*$|rss_server_ssl=\"http://localhost:5000/localrss.xml\"|g" "/etc/synoinfo.conf" "/etc.defaults/synoinfo.conf" fi if [ -f /usr/syno/web/localrss.json ]; then - cat /usr/syno/web/localrss.json + # cat /usr/syno/web/localrss.json sed -i "s|rss_server_v2=.*$|rss_server_v2=\"http://localhost:5000/localrss.json\"|g" "/etc/synoinfo.conf" "/etc.defaults/synoinfo.conf" fi + grep "rss_server" "/etc/synoinfo.conf" fi \ No newline at end of file