File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/Debian/common/DEBIAN Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,6 @@ if [ "$IS_FLEDGE_INSTALLED" -eq "1" ]
76
76
then
77
77
echo " Fledge is already installed: this is an upgrade/downgrade."
78
78
79
- # Avoid the execution of the function during an upgrade
80
- sed -i -e ' s/^remove_unused_files$/#remove_unused_files/' /var/lib/dpkg/info/fledge.postrm
81
-
82
79
# exit if fledge is running
83
80
IS_FLEDGE_RUNNING=$( is_fledge_running)
84
81
if [ " $IS_FLEDGE_RUNNING " -eq " 1" ]
87
84
exit 1
88
85
fi
89
86
87
+ # Avoid the execution of the function during an upgrade
88
+ sed -i -e ' s/^remove_unused_files$/#remove_unused_files/' /var/lib/dpkg/info/fledge.postrm
89
+
90
90
# Persist current version in case of upgrade/downgrade
91
91
installed_version=` dpkg -s ${PKG_NAME} | grep ' ^Version:' | awk ' {print $2}' `
92
92
if [ " ${installed_version} " ]
You can’t perform that action at this time.
0 commit comments