Skip to content

Commit 6104e3f

Browse files
committed
removed temporary directories from /usr/local/foglamp/data
1 parent 8d4f4c1 commit 6104e3f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

make_rpm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,13 @@ echo "Done."
216216
# Prepare new data directory
217217
echo "Prepare data directory"
218218
cd data
219+
rm -rf backup
219220
rm -rf core.err
220221
rm -rf ./etc/certs/*
221222
rm -rf foglamp.db*
223+
rm -rf logs
224+
rm -rf scripts
225+
rm -rf support
222226
rm -rf var
223227

224228
# Build the package

packages/RPM/SPECS/foglamp.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
%define __spec_install_pre /bin/true
22

3-
Name: foglamp
3+
Name: __NAME__
44
Vendor: Dianomic Systems, Inc. <[email protected]>
5-
Version: 1.7.0
5+
Version: __VERSION__
66
Release: 1
7-
BuildArch: x86_64
7+
BuildArch: __ARCH__
88
Summary: FogLAMP, the open source platform for the Internet of Things
99
License: Apache License
1010
Group: IOT

0 commit comments

Comments
 (0)