Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
d16ae5cd
Commit
d16ae5cd
authored
Mar 15, 2011
by
Patrick J Cherry
Browse files
Fixed up grevious boo boo -- stable/volatile doesn't exist, and would break lenny if it did..
parent
23a19228
Changes
1
Hide whitespace changes
Inline
Side-by-side
meta/debian/postinst
View file @
d16ae5cd
...
...
@@ -17,10 +17,15 @@ fi
if
(
!
grep
volatile /etc/apt/sources.list 2>/dev/null
>
/dev/null
)
;
then
cat
>>
/etc/apt/sources.list
<<
EOF
deb http://mirror.bytemark.co.uk/debian-volatile/
stable
/volatile main contrib non-free
deb-src http://mirror.bytemark.co.uk/debian-volatile/
stable
/volatile main contrib non-free
deb http://mirror.bytemark.co.uk/debian-volatile/
lenny
/volatile main contrib non-free
deb-src http://mirror.bytemark.co.uk/debian-volatile/
lenny
/volatile main contrib non-free
EOF
else
#
# Make sure we change "stable/volatile" to "lenny/volatile"
#
sed
-i
-e
's#\<stable/volatile#lenny/volatile#g'
/etc/apt/sources.list
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment