Compare commits
1 Commits
v0.6.5.8-2
...
v0.6.5.8-3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23bea2b413 |
2
Makefile
2
Makefile
@@ -13,7 +13,7 @@ export DEPENDS = glibc
|
||||
export ARCH = x86_64
|
||||
export URL = http://zfsonlinux.org/
|
||||
DESC = A shim layer which adds the core interfaces required for OpenZFS
|
||||
SNAPVER = 2
|
||||
SNAPVER = 3
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
|
||||
22
SNAP/usher
Executable file
22
SNAP/usher
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case $1 in
|
||||
preinst)
|
||||
exit 0
|
||||
;;
|
||||
postinst)
|
||||
if [[ ${TARGET} ]]; then
|
||||
chroot ${TARGET} depmod
|
||||
else
|
||||
depmod
|
||||
fi
|
||||
;;
|
||||
prerm)
|
||||
exit 0
|
||||
;;
|
||||
postrm)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user