Fix shell escaping in apt sources configuration
- Revert to ftp.us.debian.org (valid Debian mirror) - Use single quotes to prevent shell interpretation of URLs - Fixes syntax error: unexpected end of file - Both apt-cacher-ng and standard mirrors now properly quoted
This commit is contained in:
parent
4182d33f9e
commit
c52f2c9a69
1 changed files with 4 additions and 4 deletions
|
|
@ -73,12 +73,12 @@ jobs:
|
|||
if timeout 5 curl -s --connect-timeout 3 \
|
||||
http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
|
||||
echo '✅ Using apt-cacher-ng for package downloads...'
|
||||
echo "deb http://192.168.1.101:3142/ftp.debian.org/debian unstable main" > /etc/apt/sources.list
|
||||
echo "deb-src http://192.168.1.101:3142/ftp.debian.org/debian unstable main" >> /etc/apt/sources.list
|
||||
echo 'deb http://192.168.1.101:3142/ftp.us.debian.org/debian unstable main' > /etc/apt/sources.list
|
||||
echo 'deb-src http://192.168.1.101:3142/ftp.us.debian.org/debian unstable main' >> /etc/apt/sources.list
|
||||
else
|
||||
echo '⚠️ Using standard Debian mirrors...'
|
||||
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list
|
||||
echo "deb-src http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list
|
||||
echo 'deb http://deb.debian.org/debian unstable main' > /etc/apt/sources.list
|
||||
echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
|
||||
fi
|
||||
|
||||
# Update package lists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue