/[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 874 - (show annotations) (download) (as text)
Sun Jan 30 19:02:32 2005 UTC (13 years, 6 months ago) by vapier
File MIME type: text/x-sh
File size: 747 byte(s)
prep for 1.11.9

1 #!/bin/bash
2 export TMP="${TMP:-/tmp}"
3 export V="1.6.9"
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 ; do
9 cp -ax $x ${DEST}
10 done
11
12 # copy net-scripts and remove older stuff
13 install -d -m0755 ${DEST}/lib/rcscripts
14 cp -ax net-scripts/init.d ${DEST}
15 cp -ax net-scripts/net.modules.d ${DEST}/lib/rcscripts
16 cp -ax net-scripts/conf.d ${DEST}/etc
17 ln -sfn net.lo ${DEST}/init.d/net.eth0
18
19 cp ChangeLog ${DEST}
20
21 chown -R root:root ${DEST}
22 chmod 0755 ${DEST}/sbin/*
23 chmod 0755 ${DEST}/init.d/*
24 ( cd $TMP/rc-scripts-${V} ; rm -rf `find -iname CVS` )
25 cd $TMP
26 tar cjvf ${TMP}/rc-scripts-${V}.tar.bz2 rc-scripts-${V}
27 rm -rf rc-scripts-${V}
28
29 echo
30 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