Skip to content

Commit c8769a4

Browse files
committed
Create Fledge initial version
1 parent 1af6b15 commit c8769a4

File tree

3 files changed

+8
-479
lines changed

3 files changed

+8
-479
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ Next, *x86* is the only currently supported architecture for RedHat/Centos.
152152
153153
$ ./make_rpm
154154
The package root directory is : /home/fledge/fledge-pkg
155-
The FogLAMP directory is : /home/fledge/Fledge
156-
The FogLAMP version is : 1.7.0
155+
The Fledge directory is : /home/fledge/Fledge
156+
The Fledge version is : 1.7.0
157157
The package will be built in : /home/fledge/fledge-pkg/packages/RPM/build/RPMS/x86_64
158158
The package name is : fledge-1.7.0-1.x86_64
159159
@@ -187,8 +187,8 @@ If you execute the ``make_rpm`` command again, you will see:
187187
188188
$ ./make_rpm
189189
The package root directory is : /home/fledge/fledge-pkg
190-
The FogLAMP directory is : /home/fledge/Fledge
191-
The FogLAMP version is : 1.7.0
190+
The Fledge directory is : /home/fledge/Fledge
191+
The Fledge version is : 1.7.0
192192
The package will be built in : /home/fledge/fledge-pkg/packages/RPM/build/RPMS/x86_64
193193
The package name is : fledge-1.7.0-1.x86_64
194194

packages/RPM/SPECS/fledge.spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Fledge, the open source platform for the Internet of Things
2323
#!/usr/bin/env bash
2424

2525
##--------------------------------------------------------------------
26-
## Copyright (c) 2019 OSIsoft, LLC
26+
## Copyright (c) 2019 Dianomic Systems Inc.
2727
##
2828
## Licensed under the Apache License, Version 2.0 (the "License");
2929
## you may not use this file except in compliance with the License.
@@ -52,7 +52,7 @@ PKG_NAME="fledge"
5252

5353
is_fledge_installed () {
5454
set +e
55-
rc=`rpm -qa 2> /dev/null | grep -c ${PKG_NAME}`
55+
rc=`rpm -qa 2> /dev/null | grep -Fx ${PKG_NAME}`
5656
echo $rc
5757
set -e
5858
}
@@ -134,7 +134,7 @@ fi
134134
#!/usr/bin/env bash
135135

136136
##--------------------------------------------------------------------
137-
## Copyright (c) 2019 OSIsoft, LLC
137+
## Copyright (c) 2019 Dianomic Systems Inc.
138138
##
139139
## Licensed under the Apache License, Version 2.0 (the "License");
140140
## you may not use this file except in compliance with the License.
@@ -242,7 +242,7 @@ reset_systemctl
242242
#!/usr/bin/env bash
243243

244244
##--------------------------------------------------------------------
245-
## Copyright (c) 2019 OSIsoft, LLC
245+
## Copyright (c) 2019 Dianomic Systems Inc.
246246
##
247247
## Licensed under the Apache License, Version 2.0 (the "License");
248248
## you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)