summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-03-16 10:58:33 +0100
committerDennis Eriksen <d@ennis.no>2020-03-16 10:58:33 +0100
commit0275eed75f00ca695a96255478dde5eb5695341d (patch)
treede2fd1df88b0b776d700a46d6e1a657939aef552
parentlsb_release is not always installed - using grep and awk instead (diff)
downloadmkosi-kanboard-0275eed75f00ca695a96255478dde5eb5695341d.tar.gz
updating repo-location
-rw-r--r--mkosi.default2
-rwxr-xr-xmkosi.postinst6
2 files changed, 4 insertions, 4 deletions
diff --git a/mkosi.default b/mkosi.default
index 340f6d0..a5a8378 100644
--- a/mkosi.default
+++ b/mkosi.default
@@ -2,7 +2,7 @@
Distribution=ubuntu
Release=bionic
Repositories=main,universe
-Mirror=http://no.archive.ubuntu.com
+Mirror=http://no.archive.ubuntu.com/ubuntu
[Output]
Format=directory
diff --git a/mkosi.postinst b/mkosi.postinst
index cbf5787..302fc3b 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -9,8 +9,8 @@ systemctl mask motd-news.timer
# Add update- and security-repositories, and perform upgrade
RELEASE=$(cat /etc/lsb-release | grep DISTRIB_CODENAME | awk -F'=' '{print $2}')
-echo "deb http://no.archive.ubuntu.com ${RELEASE}-security main universe" >> /etc/apt/sources.list
-echo "deb http://no.archive.ubuntu.com ${RELEASE}-updates main universe" >> /etc/apt/sources.list
+echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-security main universe" >> /etc/apt/sources.list
+echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-updates main universe" >> /etc/apt/sources.list
apt update && apt --yes full-upgrade && apt --yes autoremove
# locales
@@ -18,7 +18,7 @@ sed -i 's/# en_IE.UTF-8 UTF-8/en_IE.UTF-8 UTF-8/' /etc/locale.gen
locale-gen
# get kanboard
-url='https://github.com/kanboard/kanboard/archive/v1.2.12.tar.gz'
+url='https://github.com/kanboard/kanboard/archive/v1.2.13.tar.gz'
# extract and install kanboard
TMP=$(mktemp -d)