瀏覽代碼

revert change archive mirrors for Ubuntu (#1028)

* revert change archive mirrors for Ubuntu
tteckster 2 年之前
父節點
當前提交
a79ecedb80

+ 0 - 6
install/deconz-v5-install.sh

@@ -71,12 +71,6 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 set -e
 
-CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
-cat <<EOF >/etc/apt/sources.list
-deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-EOF
-
 msg_info "Updating Container OS"
 $STD apt-get update
 $STD apt-get -y upgrade

+ 0 - 6
install/emby-v5-install.sh

@@ -71,12 +71,6 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 set -e
 
-CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
-cat <<EOF >/etc/apt/sources.list
-deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-EOF
-
 msg_info "Updating Container OS"
 $STD apt-get update
 $STD apt-get -y upgrade

+ 0 - 6
install/jellyfin-v5-install.sh

@@ -71,12 +71,6 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 set -e
 
-CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
-cat <<EOF >/etc/apt/sources.list
-deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-EOF
-
 msg_info "Updating Container OS"
 $STD apt-get update
 $STD apt-get -y upgrade

+ 0 - 6
install/omada-v5-install.sh

@@ -71,12 +71,6 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 set -e
 
-CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
-cat <<EOF >/etc/apt/sources.list
-deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-EOF
-
 msg_info "Updating Container OS"
 $STD apt-get update
 $STD apt-get -y upgrade

+ 0 - 6
install/plex-v5-install.sh

@@ -71,12 +71,6 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 set -e
 
-CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
-cat <<EOF >/etc/apt/sources.list
-deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-EOF
-
 msg_info "Updating Container OS"
 $STD apt-get update
 $STD apt-get -y upgrade

+ 0 - 6
install/shinobi-v5-install.sh

@@ -71,12 +71,6 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 set -e
 
-CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
-cat <<EOF >/etc/apt/sources.list
-deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-EOF
-
 msg_info "Updating Container OS"
 $STD apt-get update --fix-missing
 $STD apt-get -y upgrade

+ 0 - 6
install/ubuntu-v5-install.sh

@@ -71,12 +71,6 @@ RESOLVEDIP=$(getent hosts github.com | awk '{ print $1 }')
 if [[ -z "$RESOLVEDIP" ]]; then msg_error "DNS Lookup Failure"; else msg_ok "DNS Resolved github.com to ${BL}$RESOLVEDIP${CL}"; fi
 set -e
 
-CODENAME=$(cat /etc/*release | grep "UBUNTU_CODENAME" | awk '{print substr($1, 17, length($1)) }')
-cat <<EOF >/etc/apt/sources.list
-deb http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-deb-src http://mirror.genesisadaptive.com/ubuntu/ $CODENAME main 
-EOF
-
 msg_info "Updating Container OS"
 $STD apt-get update
 $STD apt-get -y upgrade