Skip to content

Commit

Permalink
Fix cleanup_lists in linux.sh for old PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Sep 6, 2020
1 parent 83019fa commit e3286d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ cleanup_lists() {
sudo mv /etc/apt/sources.list.d /etc/apt/sources.list.d.save
sudo mkdir /etc/apt/sources.list.d
sudo mv /etc/apt/sources.list.d.save/*ondrej*.list /etc/apt/sources.list.d/
sudo mv /etc/apt/sources.list.d.save/*dotdeb*.list /etc/apt/sources.list.d/ 2>/dev/null || true
trap "sudo mv /etc/apt/sources.list.d.save/*.list /etc/apt/sources.list.d/" exit
fi
}
Expand Down

0 comments on commit e3286d1

Please sign in to comment.