SVN_SILENT made messages (.desktop file)
[kdeadmin.git] / knetworkconf / update_backends.sh
blob9b77d137a52241249dfacbd50a6431601bf2bfca
1 #!/bin/bash
2 echo 'Network backend updating script of KNetworkConf'
3 echo
5 if [ $# -eq 0 ]
6 then
7 echo "Use: $0 src_path dest_path"
8 echo
9 exit 1
10 fi
12 if [ "$1" = "" ]
13 then
14 echo 'You have to specify the source directory of the new scripts'
15 echo
16 exit 1
17 elif [ "$2" = "" ]
18 then
19 echo 'You have to specify the destination directory for the new scripts'
20 echo
21 exit 1
24 if [ ! -d $1 ]
25 then
26 echo "$1 Isn't a directory"
27 echo
28 exit 1
29 elif [ ! -d $2 ]
30 then
31 echo "$2 Isn't a directory"
32 echo
33 exit 1
36 diractual=`pwd`
37 cd $1;
38 cp -f AUTHORS debug.pl.in file.pl.in general.pl.in guess_system.sh mkinstalldirs network-conf.in network.pl.in NEWS parse.pl.in platform.pl.in README replace.pl.in report.pl.in service-list.pl.in service.pl.in system-tools-backends.pc.in type1inst util.pl.in xml.pl.in process.pl.in $2
40 echo
41 echo 'Ready, dont forget to check configure.in.in or Makefile.am to see if they need further updating.'
42 echo