Compare commits
1 Commits
v0.6.5.8-4
...
v0.6.5.8-5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c6f5455b8 |
2
Makefile
2
Makefile
@@ -15,7 +15,7 @@ export URL = http://zfsonlinux.org/
|
||||
BRIEF = Module and utilities for the ZFS file system
|
||||
DESC = ZFS is an advanced file system and volume manager which was originally \
|
||||
developed for Solaris and is now maintained by the Illumos community.
|
||||
SNAPVER = 4
|
||||
SNAPVER = 5
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
|
||||
@@ -10,6 +10,12 @@ case $1 in
|
||||
if [ ! -f ${TARGET}/etc/default/zfs ]; then
|
||||
cp ${TARGET}/usr/share/zfs/zfs.default /etc/default/zfs
|
||||
fi
|
||||
|
||||
if [[ ${TARGET} ]]; then
|
||||
chroot ${TARGET} depmod
|
||||
else
|
||||
depmod
|
||||
fi
|
||||
;;
|
||||
prerm)
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user