diff --git a/PREP_SYSTEM_FOR_DIETPI.sh b/PREP_SYSTEM_FOR_DIETPI.sh index b45d3ddafd..8fd010f408 100644 --- a/PREP_SYSTEM_FOR_DIETPI.sh +++ b/PREP_SYSTEM_FOR_DIETPI.sh @@ -461,6 +461,9 @@ _EOF_ fi + # - Meveric, update repo to use our EU mirror: https://github.com/Fourdee/DietPi/issues/1519#issuecomment-368234302 + sed -i 's@https://oph.mdrjr.net/meveric@http://fuzon.co.uk/meveric@' /etc/apt/sources.list.d/meveric* &> /dev/null + G_DIETPI-NOTIFY 2 "Updating APT for $DISTRO_TARGET_NAME:" G_RUN_CMD apt-get clean diff --git a/dietpi/dietpi-drive_manager b/dietpi/dietpi-drive_manager index 213dc283e9..44aa300daf 100644 --- a/dietpi/dietpi-drive_manager +++ b/dietpi/dietpi-drive_manager @@ -236,6 +236,11 @@ fi + #DEBUG: + echo -e "G_HW_MODEL: $G_HW_MODEL" + echo -e "mount_type_index: $mount_type_index" + #DEBUG: + local mount_type_string=0 if (( $mount_type_index == 0 )); then diff --git a/dietpi/patch_file b/dietpi/patch_file index 0e7eacda28..62b0424f69 100644 --- a/dietpi/patch_file +++ b/dietpi/patch_file @@ -266,6 +266,10 @@ _EOF_ systemctl mask getty@tty$i done + #------------------------------------------------------------------------------- + # - Meveric, update repo to use our EU mirror: https://github.com/Fourdee/DietPi/issues/1519#issuecomment-368234302 + sed -i 's@https://oph.mdrjr.net/meveric@http://fuzon.co.uk/meveric@' /etc/apt/sources.list.d/meveric* &> /dev/null + #------------------------------------------------------------------------------- #Remove any existing apt recommends settings, before applying ours: https://github.com/Fourdee/DietPi/issues/1482#issuecomment-368031044 rm /etc/apt/apt.conf.d/*recommends* &> /dev/null