Skip to content

Commit 685ea13

Browse files
Merge pull request #18 from fledge-iot/FOGL-4867
FOGL-4867 notification delivery & rule plugins empty directories added with notification service packaging
2 parents 3dd63dc + 0b196f4 commit 685ea13

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

service/make_deb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ do
190190
# Debian file structure
191191
mkdir -p usr/local/fledge
192192
cd usr/local/fledge
193+
if [ "${service_name}" = "notification" ]; then
194+
mkdir -p plugins/notificationDelivery
195+
mkdir -p plugins/notificationRule
196+
fi
193197
mkdir -p ${install_dir}
194198
cp "${GIT_ROOT}/build/C/${install_dir}/${service_name}/${exec_name}" "${install_dir}/${exec_name}"
195199
echo "Done."

service/make_rpm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ EOF
218218

219219
mkdir -p usr/local/fledge
220220
cd usr/local/fledge
221+
if [ "${service_name}" = "notification" ]; then
222+
mkdir -p plugins/notificationDelivery
223+
mkdir -p plugins/notificationRule
224+
fi
221225
mkdir -p ${install_dir}
222226
cp -R --preserve=links ${GIT_ROOT}/build/C/${install_dir}/notification/fledge* "${install_dir}/"
223227
echo "Done."

0 commit comments

Comments
 (0)