summaryrefslogtreecommitdiff
path: root/repo-deb/build.sh
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2023-07-02 15:15:20 -0600
committercrystal <crystal@noreply.codeberg.org>2023-07-02 15:15:20 -0600
commit73da6b9d0d32fb7312037e2c209c45b91661c15b (patch)
tree00c2865c5fd6d0923a4525e4b2f2edbf36121b39 /repo-deb/build.sh
parent7645a4737f9719521030c0db810cfb894d901225 (diff)
repo deb
The repository can be added to the system by installing a package. The location of the repository can be changed in the future by pushing an update to the repo deb.
Diffstat (limited to 'repo-deb/build.sh')
-rwxr-xr-xrepo-deb/build.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/repo-deb/build.sh b/repo-deb/build.sh
new file mode 100755
index 0000000..5870d0e
--- /dev/null
+++ b/repo-deb/build.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+cp code-forgejo-org-crystal.asc stub/
+cp code-forgejo-org-crystal.asc main/
+cp forgejo-deb.list stub/
+cp forgejo-deb.list main/
+cd stub
+dpkg-buildpackage -b
+cd ..
+cd main
+dpkg-buildpackage -b
+cd ..
+exit 0