Skip to content

Commit 02ab5ea

Browse files
committed
Fix missing netcat apt install candidate with package netcat-openbsd
1 parent 5429d17 commit 02ab5ea

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## 8.15.10 (Unreleased)
22

3+
### Bugfixes
4+
5+
- Fix missing netcat apt install candidate with package netcat-openbsd
6+
37
### Miscellaneous
48

59
- Add timeout parameter to module_function()

mycodo/scripts/upgrade_commands.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ INFLUXDB2_VERSION="2.6.1"
2525
VIRTUALENV_VERSION="20.17.1"
2626

2727
# Required apt packages
28-
APT_PKGS="gawk gcc g++ git jq libatlas-base-dev libffi-dev libi2c-dev logrotate moreutils netcat nginx python3 python3-pip python3-dev python3-setuptools rng-tools sqlite3 unzip wget"
28+
APT_PKGS="gawk gcc g++ git jq libatlas-base-dev libffi-dev libi2c-dev logrotate moreutils netcat-openbsd nginx python3 python3-pip python3-dev python3-setuptools rng-tools sqlite3 unzip wget"
2929

3030
PYTHON_BINARY_SYS_LOC="$(python3 -c "import os; print(os.environ['_'])")"
3131

@@ -586,9 +586,9 @@ case "${1:-''}" in
586586
;;
587587
'update-permissions')
588588
printf "\n#### Setting permissions\n"
589-
chown -LR mycodo.mycodo "${MYCODO_PATH}"
590-
chown -R mycodo.mycodo /var/log/mycodo
591-
chown -R mycodo.mycodo /var/Mycodo-backups
589+
chown -LR mycodo:mycodo "${MYCODO_PATH}"
590+
chown -R mycodo:mycodo /var/log/mycodo
591+
chown -R mycodo:mycodo /var/Mycodo-backups
592592

593593
find "${MYCODO_PATH}" -type d -exec chmod u+wx,g+wx {} +
594594
find "${MYCODO_PATH}" -type f -exec chmod u+w,g+w,o+r {} +

0 commit comments

Comments
 (0)