You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by we...@apache.org on 2022/01/02 02:26:02 UTC

[apisix] branch master updated: chore: remove unuse utils script (#5986)

This is an automated email from the ASF dual-hosted git repository.

wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new b993a7c  chore: remove unuse utils script (#5986)
b993a7c is described below

commit b993a7c0e99714224a2b5add18b0a1772c5ead36
Author: Yu.Bozhong <y....@foxmail.com>
AuthorDate: Sun Jan 2 10:25:50 2022 +0800

    chore: remove unuse utils script (#5986)
---
 utils/gen-install-folder.sh | 17 -----------------
 utils/install_yaml_conf.sh  | 25 -------------------------
 2 files changed, 42 deletions(-)

diff --git a/utils/gen-install-folder.sh b/utils/gen-install-folder.sh
deleted file mode 100755
index 60d2bf5..0000000
--- a/utils/gen-install-folder.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# 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.
-#
-find lua -type d | sort | awk '{print "$(INSTALL) -d $(INST_LUADIR)/apisix/" $0 "\n" "$(INSTALL) " $0 "/*.lua $(INST_LUADIR)/apisix/" $0 "/\n" }'
diff --git a/utils/install_yaml_conf.sh b/utils/install_yaml_conf.sh
deleted file mode 100755
index c369487..0000000
--- a/utils/install_yaml_conf.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-#
-# 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.
-#
-
-target_file=$1
-
-if [ ! -f "$target_file" ]; then
-    cp  ./conf/config.yaml  $target_file
-    chmod 644 $target_file
-fi