Skip to content

Commit

Permalink
disto UPDATE deb scripts fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Jan 16, 2024
1 parent 481b5c6 commit 92b9667
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions distro/pkg/deb/netopeer2.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@ case "$1" in
addgroup --quiet --system netconf
fi
env - \
SYSREPOCTL_EXECUTABLE=sysrepoctl \
NP2_MODULE_DIR=/usr/share/yang/modules/netopeer2 \
NP2_MODULE_PERMS=660 \
NP2_MODULE_OWNER=root \
NP2_MODULE_GROUP=netconf \
LN2_MODULE_DIR=/usr/share/yang/modules/libnetconf2 \
bash /usr/share/netopeer2/scripts/setup.sh
env - \
SYSREPOCFG_EXECUTABLE=sysrepocfg \
OPENSSL_EXECUTABLE=openssl \
bash /usr/share/netopeer2/scripts/merge_hostkey.sh
bash /usr/share/netopeer2/scripts/merge_hostkey.sh
env - \
SYSREPOCFG_EXECUTABLE=sysrepocfg \
bash /usr/share/netopeer2/scripts/merge_config.sh
bash /usr/share/netopeer2/scripts/merge_config.sh
;;

abort-upgrade|abort-remove|abort-deconfigure)
Expand Down

0 comments on commit 92b9667

Please sign in to comment.