From 4b5ce187050147a43ab31de02721bcb8388f6e78 Mon Sep 17 00:00:00 2001 From: Sushrut1101 Date: Thu, 3 Mar 2022 20:21:04 +0530 Subject: [PATCH] Move vars.sh to config.sh Signed-off-by: Sushrut1101 --- README.md | 4 ++-- build.sh | 4 ++-- checks.sh | 2 +- vars.sh => config.sh | 0 sync.sh | 2 +- upload.sh | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename vars.sh => config.sh (100%) diff --git a/README.md b/README.md index 34909ad1..3c2b58f5 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,12 @@ A Free CI to Build OrangeFox Recovery 1. Install the Free ($0) Plan of [Cirrus CI](https://github.com/marketplace/cirrus-ci) 2. Allow All the Permissions from [Here](https://github.com/apps/cirrus-ci/installations/new) 3. Fork [this Repo](https://github.com/OrangeFoxRecovery/OrangeFox-CI.git). -4. Update the vars.sh (and .cirrus.yml for telegram vars) According to your Needs and push a commit. +4. Update the ```config.sh``` (and ```.cirrus.yml``` for telegram vars) According to your Needs and push a commit. 5. Go to [cirrus-ci.com](https://cirrus-ci.com) And see the Build Logs. ### - Build via a PR (Pull Request) 1. Fork [this Repo](https://github.com/OrangeFoxRecovery/OrangeFox-CI.git). -2. Edit vars.sh (Only) According to your Needs. +2. Edit ```config.sh``` (Only) According to your Needs. 3. Create a Pull Reuest. 4. Go to [cirrus-ci.com](https://cirrus-ci.com) And see the Build Logs. diff --git a/build.sh b/build.sh index b2d12bdd..cb76e291 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ #!/bin/bash -# Source Vars -source vars.sh +# Source Configs +source config.sh # A Function to Send Posts to Telegram telegram_message() { diff --git a/checks.sh b/checks.sh index aaed9d68..a6d9ef17 100644 --- a/checks.sh +++ b/checks.sh @@ -1,6 +1,6 @@ #!/bin/bash -CONFIG="vars.sh" +CONFIG="config.sh" # Telegram tg_check=$(grep 'TG' $CONFIG | wc -l) diff --git a/vars.sh b/config.sh similarity index 100% rename from vars.sh rename to config.sh diff --git a/sync.sh b/sync.sh index 2515c131..f420de04 100644 --- a/sync.sh +++ b/sync.sh @@ -1,7 +1,7 @@ #!/bin/bash # Source Vars -source vars.sh +source config.sh # Change to the Home Directory cd ~ diff --git a/upload.sh b/upload.sh index c8212ade..d605f9f5 100644 --- a/upload.sh +++ b/upload.sh @@ -1,7 +1,7 @@ #!/bin/bash # Source Vars -source vars.sh +source config.sh # A Function to Send Posts to Telegram telegram_message() {