@@ -23,6 +23,10 sed -i "s,stretch\\/updates,testing-security," "${ETC_DIR}/apt/sources.list" | |||||
23 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" |
|
23 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" | |
24 | fi |
|
24 | fi | |
25 |
|
25 | |||
|
26 | if [ "$ENABLE_NONFREE" = "true" ] ; then | |||
|
27 | sed -i "s,main contrib,main contrib non-free," "${ETC_DIR}/apt/sources.list" | |||
|
28 | fi | |||
|
29 | ||||
26 | if [ -z "$RELEASE" ] ; then |
|
30 | if [ -z "$RELEASE" ] ; then | |
27 | # Change release in sources list |
|
31 | # Change release in sources list | |
28 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" |
|
32 | sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant