Commit 698ab242 authored by Pavel Shilovsky's avatar Pavel Shilovsky

Move etercifs.outformat to datadir

parent fdc9ecbb
......@@ -199,8 +199,7 @@ EOF
mkdir -p %buildroot%_initdir/
install -m755 %name %buildroot%_initdir/
install -m755 %name.outformat %buildroot%_initdir/
install -m755 %name.outformat %buildroot%_datadir/%name
%define etercifs_src %_datadir/%name/sources
......@@ -327,7 +326,6 @@ ln -s ../../../../%etercifs_src/%src_package_name-3.3-%src_3_3_version.tar.bz2 \
%doc README.ETER AUTHORS CHANGES README TODO
%_bindir/etermount
%_initrddir/%name
%_initrddir/%name.outformat
%config %_sysconfigdir/%name.conf
%config %_sysconfdir/modprobe.d/etersoft.conf
%_datadir/%name/
......
......@@ -48,7 +48,7 @@ ORIGMODULENAME=cifs
# FIXME: %_initdir
OUTFORMAT=/etc/init.d/outformat
[ -x $OUTFORMAT ] || OUTFORMAT=/etc/init.d/etercifs.outformat
[ -x $OUTFORMAT ] || OUTFORMAT=@DATADIR@/etercifs.outformat
if which tput >/dev/null && test -x $OUTFORMAT ; then
. $OUTFORMAT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment