Skip to content

Commit 87f2abf

Browse files
committed
Deb postinst
1 parent 69f8c3b commit 87f2abf

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
## [0.1.2] - 2022-12-23
66
### Fixed
77
- Key -w now works correctly
8-
8+
- Deb package postinst `systemctl daemon-reload`
99

1010
## [0.1.1] - 2022-12-21
1111
### Added

build/ci/build-deb.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ echo "
2727
systemctl daemon-reload
2828
" > $PKGDIR/DEBIAN/postinst
2929

30+
chmod 775 $PKGDIR/DEBIAN/postinst
31+
3032
dpkg-deb --build --root-owner-group $PKGDIR
3133

3234
rm -rf $PKGDIR

build/ci/cli-build-deb.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ echo "
2727
systemctl daemon-reload
2828
" > $PKGDIR/DEBIAN/postinst
2929

30+
chmod 775 $PKGDIR/DEBIAN/postinst
31+
3032
dpkg-deb --build --root-owner-group $PKGDIR
3133

3234
rm git-syr-cli

0 commit comments

Comments
 (0)