Browse Source
Merge pull request #754 from trapexit/deb-build
fix install location and setuid setting in deb pkgs
pull/755/head
trapexit
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
12 additions and
2 deletions
-
debian/mergerfs.postinst
-
debian/rules
|
@ -0,0 +1,9 @@ |
|
|
|
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
|
|
case "${1}" in |
|
|
|
|
|
configure) |
|
|
|
|
|
chmod 4755 /bin/mergerfs-fusermount |
|
|
|
|
|
;; |
|
|
|
|
|
esac |
|
@ -2,10 +2,11 @@ |
|
|
# -*- makefile -*- |
|
|
# -*- makefile -*- |
|
|
|
|
|
|
|
|
# Uncomment this to turn on verbose mode. |
|
|
# Uncomment this to turn on verbose mode. |
|
|
#export DH_VERBOSE=1 |
|
|
|
|
|
|
|
|
export DH_VERBOSE=1 |
|
|
|
|
|
|
|
|
%: |
|
|
%: |
|
|
dh $@ --parallel |
|
|
dh $@ --parallel |
|
|
|
|
|
|
|
|
override_dh_auto_install: |
|
|
override_dh_auto_install: |
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/mergerfs PREFIX=/usr install |
|
|
|
|
|
|
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/mergerfs PREFIX=/usr install-base |
|
|
|
|
|
$(MAKE) DESTDIR=$(CURDIR)/debian/mergerfs PREFIX= install-mount-tools |