diff options
author | Richard Gallamore <ultima@FreeBSD.org> | 2022-01-10 17:32:53 -0800 |
---|---|---|
committer | Richard Gallamore <ultima@FreeBSD.org> | 2022-01-10 17:32:53 -0800 |
commit | 5b05cb77d9c006fca6c2b3b7174e59eed13cb8da (patch) | |
tree | 27d5ef87d16bb494f8745220c9fe27d9ac56d945 /www/seahub/files/patch-scripts_upgrade_regenerate__secret__key.sh | |
parent | graphics/mesa-devel: update to 21.3.b.2486 (diff) |
Seafile|Seahub: Updated to 9.0.2
Changes: https://manual.seafile.com/changelog/server-changelog/
Diffstat (limited to 'www/seahub/files/patch-scripts_upgrade_regenerate__secret__key.sh')
-rw-r--r-- | www/seahub/files/patch-scripts_upgrade_regenerate__secret__key.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/seahub/files/patch-scripts_upgrade_regenerate__secret__key.sh b/www/seahub/files/patch-scripts_upgrade_regenerate__secret__key.sh new file mode 100644 index 000000000000..f8c93140c2ff --- /dev/null +++ b/www/seahub/files/patch-scripts_upgrade_regenerate__secret__key.sh @@ -0,0 +1,10 @@ +--- scripts/upgrade/regenerate_secret_key.sh.orig 2016-10-21 22:12:15 UTC ++++ scripts/upgrade/regenerate_secret_key.sh +@@ -10,4 +10,6 @@ seahub_settings_py=${TOPDIR}/seahub_sett + + line="SECRET_KEY = \"$(python $seahub_secret_keygen)\"" + +-sed -i -e "/SECRET_KEY/c\\$line" $seahub_settings_py ++sed -i.bak -e "/SECRET_KEY/c\\ ++$line ++" $seahub_settings_py |