##// END OF EJS Templates
a
Unknown -
r550:fdc9e4525261
parent child
Show More
@@ -1,8 +1,8
1 # Debian packages for testing
1 deb http://ftp.debian.org/debian jessie main contrib
2 deb http://mirror.united-gameserver.de/debian/ testing main contrib non-free
2 #deb-src http://ftp.debian.org/debian jessie main contrib
3 # Uncomment the deb-src line if you want 'apt-get source'
4 # to work with most packages.
5 deb-src http://mirror.united-gameserver.de/debian/ testing main contrib non-free
6
3
7 # Security updates for stable
4 deb http://ftp.debian.org/debian/ jessie-updates main contrib
8 # deb http://security.debian.org/ stable/updates main contrib non-free
5 #deb-src http://ftp.debian.org/debian/ jessie-updates main contrib
6
7 deb http://security.debian.org/ jessie/updates main contrib
8 #deb-src http://security.debian.org/ jessie/updates main contrib
@@ -240,24 +240,24 if [ "${APT_CACHER_RUNNING}" = "apt-cacher-ng" ] ; then
240 fi
240 fi
241
241
242 # netselect-apt does not know buster yet
242 # netselect-apt does not know buster yet
243 if [ "$RELEASE" = "buster" ] ; then
243 #if [ "$RELEASE" = "buster" ] ; then
244 RLS=testing
244 # RLS=testing
245 else
245 #else
246 RLS="$RELEASE"
246 # RLS="$RELEASE"
247 fi
247 #fi
248
248
249 if [ -f "$(pwd)/files/apt/sources.list" ] ; then
249 #if [ -f "$(pwd)/files/apt/sources.list" ] ; then
250 rm "$(pwd)/files/apt/sources.list"
250 #rm "$(pwd)/files/apt/sources.list"
251 fi
251 #fi
252
252
253 if [ "$ENABLE_NONFREE" = true ] ; then
253 #if [ "$ENABLE_NONFREE" = true ] ; then
254 netselect-apt --arch "$RELEASE_ARCH" -t 3 --sources --nonfree --outfile "$(pwd)/files/apt/sources.list" -d "$RLS"
254 # netselect-apt --arch "$RELEASE_ARCH" -t 3 --sources --nonfree --outfile "$(pwd)/files/apt/sources.list" -d "$RLS"
255 else
255 #else
256 netselect-apt --arch "$RELEASE_ARCH" -t 3 --sources --outfile "$(pwd)/files/apt/sources.list" -d "$RLS"
256 # netselect-apt --arch "$RELEASE_ARCH" -t 3 --sources --outfile "$(pwd)/files/apt/sources.list" -d "$RLS"
257 fi
257 #fi
258
258
259 # sed and cut the result string so we can use it as APT_SERVER
259 # sed and cut the result string so we can use it as APT_SERVER
260 APT_SERVER=$(grep -m 1 http files/apt/sources.list | sed "s|http://| |g" | cut -d ' ' -f 3 | sed 's|/$|''|')
260 #APT_SERVER=$(grep -m 1 http files/apt/sources.list | sed "s|http://| |g" | cut -d ' ' -f 3 | sed 's|/$|''|')
261
261
262 # make script easier and more stable to use with convenient setup switch. Just setup SET_ARCH and RPI_MODEL and your good to go!
262 # make script easier and more stable to use with convenient setup switch. Just setup SET_ARCH and RPI_MODEL and your good to go!
263 if [ -n "$SET_ARCH" ] ; then
263 if [ -n "$SET_ARCH" ] ; then
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant