Skip to content

Commit

Permalink
Fix autoremove of fluent namespace so not breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
helto4real committed Feb 6, 2021
1 parent 97cff7b commit 08e1046
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Docker/rootfs/etc/services.d/NetDaemonApp/run
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ if [[ $is_custom_app_source == false ]]; then
export NETDAEMON__APPSOURCE="/data/apps"
echo -e "\\033[32mFound apps folder, using ${NETDAEMON__APPSOURCE}...\\033[0m" >&2
fi

if [ -f "${NETDAEMON__APPSOURCE}/_EntityExtensionsRx.cs" ]; then
# Not to break with removal of V1 API, remove the fluent namespace
# TODO: remove this after a few releases
sed -i "/using NetDaemon\.Common\.Fluent\;/d" "${NETDAEMON__APPSOURCE}/_EntityExtensionsRx.cs"
fi

cd "${daemondir}"
exec dotnet Service.dll
else
Expand Down

0 comments on commit 08e1046

Please sign in to comment.