mkspec.sh: Add mkinitrd_setup in %post

This commit is contained in:
Jan Lindemann 2009-04-07 18:34:21 +00:00 committed by Jan Lindemann
commit 9fafcfb02f

View file

@ -70,7 +70,10 @@ echo "cat $INSTALL_LOG | sed \"s% \$RPM_BUILD_ROOT% %\" | grep -e '//include/.*
#echo "echo $VERSION.$RELEASE > \$RPM_BUILD_ROOT/usr/share/doc/packages/ytools/VERSION"
echo ""
echo "%post -n $NAME-run"
if [ "$TARGET" != mingw ]; then echo "/opt/ytools/bin/jcs init"; fi
if [ "$TARGET" != mingw ]; then
echo "/opt/ytools/bin/jcs init"
echo "/sbin/mkinitrd_setup"
fi
echo ""
echo "%clean"
#echo 'rm -rf $RPM_BUILD_ROOT'