You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2015/01/29 19:28:58 UTC

svn commit: r1655782 - in /vcl/trunk: vcl-install.sh vcl-upgrade.sh

Author: jfthomps
Date: Thu Jan 29 18:28:57 2015
New Revision: 1655782

URL: http://svn.apache.org/r1655782
Log:
VCL-810 - 2.4 install script

added Apache License header

removed todo task list from top of vcl-upgrade.sh

Modified:
    vcl/trunk/vcl-install.sh
    vcl/trunk/vcl-upgrade.sh

Modified: vcl/trunk/vcl-install.sh
URL: http://svn.apache.org/viewvc/vcl/trunk/vcl-install.sh?rev=1655782&r1=1655781&r2=1655782&view=diff
==============================================================================
--- vcl/trunk/vcl-install.sh (original)
+++ vcl/trunk/vcl-install.sh Thu Jan 29 18:28:57 2015
@@ -1,5 +1,20 @@
 #!/bin/bash
 
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#     http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 function print_break() {
 	echo "------------------------------------------------------------------------------------------"
 }

Modified: vcl/trunk/vcl-upgrade.sh
URL: http://svn.apache.org/viewvc/vcl/trunk/vcl-upgrade.sh?rev=1655782&r1=1655781&r2=1655782&view=diff
==============================================================================
--- vcl/trunk/vcl-upgrade.sh (original)
+++ vcl/trunk/vcl-upgrade.sh Thu Jan 29 18:28:57 2015
@@ -1,40 +1,19 @@
 #!/bin/bash
 
-(
-cat <<'EOF'
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
 
-# need to know
-database admin account
-database admin password
-database name
-database host
+#     http://www.apache.org/licenses/LICENSE-2.0
 
-# need to do
--download new archive
--validate new archive
--run install_perl_libs.pl
--stop vcld
--stop httpd
--determine installed version
--dump database
--create tar backup of web code
--create tar backup of management node code
--copy new web code in place
--copy configuration files from old web code to new code
--add any updates to conf.php
--copy new management node code in place
--add any updates to vcld.conf
--rename old web code directory
--rename old management node directory
--create web symlink
--create management node symlink
--create .htaccess file in old web code location that blocks access
--upgrade database schema
--start httpd
--start vcld
-
-EOF
-) > /dev/null
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 function print_break() {
 	echo "------------------------------------------------------------------------------------------"