rpms/klog/F-13 klog.sh.in,NONE,1.1

Randall 'Randy' Berry dp67 at fedoraproject.org
Tue Jul 20 04:15:00 UTC 2010


Author: dp67

Update of /cvs/pkgs/rpms/klog/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26209

Added Files:
	klog.sh.in 
Log Message:



--- NEW FILE klog.sh.in ---
#!/bin/sh
# *****************************************************************************
#               klog.sh.in  -  Install wrapper script for klog
#                            -------------------
#    begin                : June  25 2010
#    copyright            : (C) 2010 by Randall J. Berry N3LRX
#    email                : dp67 at fedoraproject.org
# *****************************************************************************
# *****************************************************************************
# *                                                                           *
# *  This program is free software; you can redistribute it and/or modify     *
# *  it under the terms of the GNU General Public License as published by     *
# *  the Free Software Foundation; either GPL version 2 of the License, or    *
# *  (at your option) any later version.                                      *
# *                                                                           *
# *  This program is distributed in the hope that it will be useful,          *
# *  but WITHOUT ANY WARRANTY; without even the implied warranty of           *
# *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the             *
# *  GNU General Public License for more details.                             *
# *                                                                           *
# *  You should have received a copy of the GNU General Public License        *
# *  along with this program; if not, write to the Free Software              *
# *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA  *
# *                                                                           *
# *****************************************************************************

# Wrapper script for klog to ensure that configuration is present
klogbin="/usr/libexec/klog-bin"
# Check if user configuration is present
if [ ! -e ~/.klog/ ]
then
mkdir ~/.klog
cp /etc/skel/.klog/data/klog-contest-cabrillo-formats.txt ~/.klog/klog-contest-cabrillo-formats.txt
cp /etc/skel/.klog/awa/tpea.awa ~/.klog/tpea.awa
cp /etc/skel/.klog/awa/was.awa ~/.klog/was.awa
cp /etc/skel/.klog/data/cty.dat ~/.klog/cty.dat
cp /etc/skel/.klog/data/cty.dat ~/.klog/klog-contest-cabrillo-formats.txt

fi
# Launch klog
$klogbin



More information about the scm-commits mailing list