blob: fae082ab2f255dc7f8e2adc77327b03a2257917b (
plain)
1
2
3
4
5
6
7
|
#! /usr/bin/env bash
set -e
echo "Backup /etc/apt/sources.list to /etc/apt/sources.list.bak."
echo "Replace http to https in /etc/apt/sources.list."
sed -i.bak 's/https\?/https/' /etc/apt/sources.list
|