/[baselayout]/branches/rc-scripts-1_6/tarball.sh
Gentoo

Contents of /branches/rc-scripts-1_6/tarball.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 756 - (show annotations) (download) (as text)
Mon Dec 6 15:46:18 2004 UTC (10 years ago) by (unknown author)
File MIME type: text/x-sh
File size: 745 byte(s)
This commit was manufactured by cvs2svn to create branch
'rc-scripts-1_6'.
1 #!/bin/bash
2 export TMP="${TMP:-/tmp}"
3 export V="1.6.7"
4 export DEST="${TMP}/rc-scripts-${V}"
5 rm -rf ${DEST}
6 install -d -m0755 ${DEST}
7
8 for x in bin etc init.d sbin src rc-lists man
9 do
10 cp -ax $x ${DEST}
11 done
12
13 # copy net-scripts and remove older stuff
14 install -d -m0755 ${DEST}/lib/rcscripts
15 cp -ax net-scripts/init.d ${DEST}
16 cp -ax net-scripts/net.modules.d ${DEST}/lib/rcscripts
17 cp -ax net-scripts/conf.d ${DEST}/etc
18 ln -sfn net.lo ${DEST}/init.d/net.eth0
19
20 cp ChangeLog ${DEST}
21
22 chown -R root:root ${DEST}
23 chmod 0755 ${DEST}/sbin/*
24 chmod 0755 ${DEST}/init.d/*
25 ( cd $TMP/rc-scripts-${V} ; rm -rf `find -iname CVS` )
26 cd $TMP
27 tar cjvf ${TMP}/rc-scripts-${V}.tar.bz2 rc-scripts-${V}
28 rm -rf rc-scripts-${V}
29
30 echo
31 ls -l ${TMP}/rc-scripts-${V}.tar.bz2

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20