1 files changed, 20 insertions(+), 0 deletions(-)
A deploying.sh
A deploying.sh => deploying.sh +20 -0
@@ 0,0 1,20 @@
+#!/bin/sh
+# Deploying
+## curl in patch, push changes.
+## Ensure pipeline succeeds.
+
+## Setup
+### Have ~/packages directory with appropriate symlinks for different architectures.
+
+## Building packages and APKINDEX
+
+### Build packages that haven't been built yet
+find mdaports -name '*APKBUILD' | xargs -I{} sh -c "APKBUILD='{}' abuild"
+### Remove outdated packages
+find mdaports -name '*APKBUILD' | xargs -I{} sh -c "APKBUILD='{}' abuild cleanoldpkg"
+
+## Updating apkbrowser
+cd apkbrowser
+./update-database.py config.ini ''
+
+doas touch /etc/uwsgi/conf.d/apkbrowser.ini