Skip to content

Commit

Permalink
Fix: initial install under DSM 7 should ensure the .dsm7_migrated fil…
Browse files Browse the repository at this point in the history
…e should be set to prevent further upgrades from going wild
  • Loading branch information
smaarn committed Oct 2, 2022
1 parent 2d6b360 commit eda4ea7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spk/tt-rss/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ service_postinst ()
echo "putenv('TTRSS_PHP_EXECUTABLE=${PHP}');";
echo "putenv('TTRSS_MYSQL_DB_SOCKET=/run/mysqld/mysqld10.sock');"
} >>"${WEB_DIR}/${PACKAGE}/config.php"
if [ "${SYNOPKG_DSM_VERSION_MAJOR}" -ge 7 ]; then
touch "${SYNOPKG_PKGVAR}/.dsm7_migrated"
fi
fi

if [ "${SYNOPKG_DSM_VERSION_MAJOR}" -lt 7 ]; then
Expand Down

0 comments on commit eda4ea7

Please sign in to comment.