bliss: Drop official check
Change-Id: I2cb4838f3e13acfc1cb929cdac37bbd1a7a10c56
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
diff --git a/build/envsetup.sh b/build/envsetup.sh
index a4f1196..29dd0a4 100644
--- a/build/envsetup.sh
+++ b/build/envsetup.sh
@@ -26,22 +26,6 @@
EOF
}
-function checkofficial()
-{
- codenames=$(curl -s 'https://api.blissroms.org/api/maintainers')
- for row in $(echo "${codenames}" | jq -r '.[] | @base64'); do
- _jq() {
- echo ${row} | base64 --decode | jq -r ${1}
- }
- if [ "$(_jq '.codename')" == "$1" ]; then
- export BLISS_BUILDTYPE=OFFICIAL
- break
- else
- export BLISS_BUILDTYPE=UNOFFICIAL
- fi
- done
-}
-
function mk_timer()
{
local start_time=$(date +"%s")
@@ -75,8 +59,7 @@
{
target=$1
local variant=$2
-
- checkofficial $target
+
if [ $# -eq 0 ]; then
# No arguments, so let's have the full menu
lunch
@@ -1077,8 +1060,6 @@
return 0
fi
- checkofficial $1
-
# Breakfast extension
if [ $TARGET_BUILD_VARIANT == "user" ];then
breakfast $* user