mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-22 11:39:52 +08:00
fix install location and setuid setting in deb pkgs
This commit is contained in:
parent
e0bb4e407a
commit
c6bce81747
9
debian/mergerfs.postinst
vendored
Executable file
9
debian/mergerfs.postinst
vendored
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "${1}" in
|
||||
configure)
|
||||
chmod 4755 /bin/mergerfs-fusermount
|
||||
;;
|
||||
esac
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -2,10 +2,11 @@
|
|||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user