Skip to content

Commit

Permalink
Adjusting packaging for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
medo64 committed Jan 8, 2021
1 parent fa9053f commit a0769ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ package: dist
@gzip -cn --best build/man/qtext.1 > $(PACKAGE_DIR)/usr/share/man/man1/qtext.1.gz
@find $(PACKAGE_DIR)/ -type d -exec chmod 755 {} +
@find $(PACKAGE_DIR)/ -type f -exec chmod 644 {} +
@chmod 755 $(PACKAGE_DIR)/DEBIAN/p*inst $(PACKAGE_DIR)/DEBIAN/p*rm
@chmod 755 $(PACKAGE_DIR)/DEBIAN/config $(PACKAGE_DIR)/DEBIAN/p*inst $(PACKAGE_DIR)/DEBIAN/p*rm
@install -d $(PACKAGE_DIR)/opt/qtext/
@install bin/qtext $(PACKAGE_DIR)/opt/qtext/
@strip $(PACKAGE_DIR)/opt/qtext/qtext
Expand Down
2 changes: 1 addition & 1 deletion package/deb/DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Description: Note taking utility
auto-save thing going on.
Section: utils
Priority: optional
Depends: libc6, gnupg2, qtbase5-dev, libqt5x11extras5, openssl
Depends: debconf, gnupg2, libc6, qtbase5-dev, libqt5x11extras5, openssl
Build-Depends: qtbase5-dev, libqt5x11extras5-dev
3 changes: 3 additions & 0 deletions package/deb/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ set -e
# Update man pages
mandb -q

# Just loading to suppress warning
. /usr/share/debconf/confmodule || true

# Done
exit 0

0 comments on commit a0769ec

Please sign in to comment.