/[gentoo-projects]/selinux/relpolicy
Gentoo

Contents of /selinux/relpolicy

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Sep 26 13:28:18 2004 UTC (10 years ago) by pebenito
Branch: MAIN
CVS Tags: HEAD
add script for rolling releases

1 pebenito 1.1 #!/bin/bash
2     . /sbin/functions.sh
3    
4     if [ -z "${1}" ]; then
5     echo "Bah you forgot to specify a daemon!"
6     echo
7     echo "Like this:"
8     echo "${0} ntp"
9     echo "or:"
10     echo "${0} base-policy"
11     exit 1
12     fi
13    
14     TARBALL="selinux-${1}-`date +%Y%m%d`.tar.bz2"
15    
16     ebegin "Refreshing local CVS copy"
17     cvs -Q up
18     eend $?
19    
20     ebegin "Generating ${TARBALL}"
21    
22     [ -d ${1} ] || exit 1;
23    
24     [ -f ./${TARBALL} ] && \
25     rm -f ./${TARBALL}
26    
27     tar --exclude CVS -jcf ./${TARBALL} ${1}/
28     eend $?

  ViewVC Help
Powered by ViewVC 1.1.20