Skip to content

Commit 1ef680e

Browse files
author
ron.record
committed
Use POSIX conformant sed to append a line in macos install script
1 parent 89a4f88 commit 1ef680e

File tree

6 files changed

+26
-17
lines changed

6 files changed

+26
-17
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
May 27, 2024 :
6+
RoonCommandLine version 2.1.2 release 4
7+
8+
This release provides improved info and formatting for now playing and media search
9+
510
May 23, 2024 :
611
RoonCommandLine version 2.1.2 release 3
712

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
VERSION=2.1.2
2-
RELEASE=3
2+
RELEASE=4

etc/postinstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ if [ -f "${ROON_DOC}/VERSION" ]; then
9292
else
9393
# Should not happen but if it did we fake it
9494
version="2.1.2"
95-
release="3"
95+
release="4"
9696
fi
9797

9898
# Copy in distributed roon_api.ini template if no previous one exists

linInstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ ${SUDO} cp LICENSE ${DESTDIR}/share/doc/${PKG}/copyright
133133
${SUDO} cp CHANGELOG.md ${DESTDIR}/share/doc/${PKG}/changelog
134134
${SUDO} cp README.md ${DESTDIR}/share/doc/${PKG}/README
135135
${SUDO} cp VERSION ${DESTDIR}/share/doc/${PKG}/VERSION
136-
${SUDO} gzip -9 ${DESTDIR}/share/doc/${PKG}/changelog
136+
${SUDO} gzip -9 -f ${DESTDIR}/share/doc/${PKG}/changelog
137137

138138
${SUDO} chmod 644 man/*/*
139139
${SUDO} chmod 755 man man/man*

macInstall

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ ${SUDO} cp LICENSE ${DESTDIR}/share/doc/${PKG}/copyright
149149
${SUDO} cp CHANGELOG.md ${DESTDIR}/share/doc/${PKG}/changelog
150150
${SUDO} cp README.md ${DESTDIR}/share/doc/${PKG}/README
151151
${SUDO} cp VERSION ${DESTDIR}/share/doc/${PKG}/VERSION
152-
${SUDO} gzip -9 ${DESTDIR}/share/doc/${PKG}/changelog
152+
${SUDO} gzip -9 -f ${DESTDIR}/share/doc/${PKG}/changelog
153153

154154
${SUDO} chmod 644 man/*/*
155155
${SUDO} chmod 755 man man/man*
@@ -226,7 +226,8 @@ updatever=$(grep RoonCommandLineVersion ${ROON_INI})
226226
if [ "${updatever}" ]; then
227227
cat ${ROON_INI} | sed -e "s/RoonCommandLineVersion.*/RoonCommandLineVersion = ${version}/" >/tmp/v$$
228228
else
229-
cat ${ROON_INI} | sed -e "/RoonCorePort.*/a RoonCommandLineVersion = __VERSION__" >/tmp/v$$
229+
cat ${ROON_INI} | sed -e '/RoonCorePort.*/a\
230+
RoonCommandLineVersion = __VERSION__' >/tmp/v$$
230231
fi
231232
${SUDO} cp /tmp/v$$ ${ROON_INI}
232233
${SUDO} rm -f /tmp/v$$
@@ -235,7 +236,8 @@ updaterel=$(grep RoonCommandLineRelease ${ROON_INI})
235236
if [ "${updaterel}" ]; then
236237
cat ${ROON_INI} | sed -e "s/RoonCommandLineRelease.*/RoonCommandLineRelease = ${release}/" >/tmp/r$$
237238
else
238-
cat ${ROON_INI} | sed -e "/RoonCommandLineVersion.*/a RoonCommandLineRelease = __RELEASE__" >/tmp/r$$
239+
cat ${ROON_INI} | sed -e '/RoonCommandLineVersion.*/a\
240+
RoonCommandLineRelease = __RELEASE__' >/tmp/r$$
239241
fi
240242
${SUDO} cp /tmp/r$$ ${ROON_INI}
241243
${SUDO} rm -f /tmp/r$$

pkg/release.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
# RoonCommandLine Release Notes
22

3-
RoonCommandLine version 2.1.2 release 3 provides support for:
4-
5-
- Add signal handler to Python scripts
6-
- Add tracks listing, track play and album track play commands
7-
- Add `Examples` and `Usage` to main menu
8-
- Install `jq` in `macInstall`
9-
- Improve info when selecting and listing in menus
10-
- Improved `show_info()`
3+
RoonCommandLine version 2.1.2 release 4 provides improved info and formatting for now playing and media search.
114

125
## Installation
136

@@ -18,13 +11,13 @@ Download the latest Debian or RPM package format release from the **Assets** sec
1811
Install the package on Debian based systems by executing the command
1912

2013
```bash
21-
sudo apt install ./RoonCommandLine_2.1.2-3.deb
14+
sudo apt install ./RoonCommandLine_2.1.2-4.deb
2215
```
2316

2417
Install the package on RPM based systems by executing the command
2518

2619
```bash
27-
sudo yum localinstall ./RoonCommandLine-2.1.2-3.rpm
20+
sudo yum localinstall ./RoonCommandLine-2.1.2-4.rpm
2821
```
2922

3023
Removal of the package on Debian based systems can be accomplished by issuing the command:
@@ -49,6 +42,15 @@ cd RoonCommandLine
4942

5043
## Release history
5144

45+
RoonCommandLine version 2.1.2 release 3 provides support for:
46+
47+
- Add signal handler to Python scripts
48+
- Add tracks listing, track play and album track play commands
49+
- Add `Examples` and `Usage` to main menu
50+
- Install `jq` in `macInstall`
51+
- Improve info when selecting and listing in menus
52+
- Improved `show_info()`
53+
5254
RoonCommandLine version 2.1.2 release 2 provides support for:
5355

5456
- Installation and use of the `roon-tui` Roon terminal user interface
@@ -116,6 +118,6 @@ Version 2.0.7 release 1 added support for:
116118
- Add `get_zone_remaining` to get remaining time for now playing in zone
117119
- Add `get_zone_volume` and `get_zone_attributes.py`
118120

119-
View the full changelog for this release at <https://github.com/doctorfree/RoonCommandLine/blob/v2.1.2r3/CHANGELOG.md>
121+
View the full changelog for this release at <https://github.com/doctorfree/RoonCommandLine/blob/v2.1.2r4/CHANGELOG.md>
120122

121123
See [CHANGELOG.md](https://github.com/doctorfree/RoonCommandLine/blob/master/CHANGELOG.md) for a full list of changes in every RoonCommandLine release

0 commit comments

Comments
 (0)