Skip to content

Commit

Permalink
Fix apt-repositories and apt-debconf
Browse files Browse the repository at this point in the history
  • Loading branch information
Adán Sánchez de Pedro Crespo committed Jan 18, 2017
1 parent 5740e09 commit 65aa1e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pre-build-buildpack
Expand Up @@ -13,14 +13,14 @@ if [ -f $DIR/apt-repositories ]; then
apt-get update
apt-get install -y software-properties-common apt-transport-https
cat "$DIR/apt-repositories" | while read repository; do
if [ -n "$repository" ]; then
if [ -n "\$repository" ]; then
add-apt-repository -y "\$repository"
fi
done
fi
if [ -f $DIR/apt-debconf ]; then
cat "$DIR/apt-debconf" | while read conf; do
if [ -n "$conf" ]; then
if [ -n "\$conf" ]; then
echo \$conf | debconf-set-selections
fi
done
Expand Down

0 comments on commit 65aa1e9

Please sign in to comment.