tripnomics_7.5.5/scripts/build/update_repo/init-deb-repo.sh
venbatechnologies@gmail.com 91fce5c4bf Initial commit
2021-07-05 13:49:40 +05:30

16 lines
544 B
Bash
Executable File

#!/usr/bin/env bash
# Run this if you need to recreate the debian repository for some reason
# Setup environment
cp scripts/build/update_repo/aptly.conf /etc/aptly.conf
mkdir -p /deb-repo/db \
/deb-repo/repo \
/deb-repo/tmp
aptly repo create -distribution=stable -component=main grafana
aptly repo create -distribution=beta -component=main beta
aptly publish repo -architectures=amd64,i386,arm64,armhf grafana filesystem:repo:grafana
aptly publish repo -architectures=amd64,i386,arm64,armhf beta filesystem:repo:grafana