mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
Come on deb
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xe
|
||||
|
||||
od=$(pwd)
|
||||
mkdir -p pkg/${MATRIX_OS}/opt/cloudfire/bin
|
||||
prefix=$MATRIX_OS_$MATRIX_ARCH
|
||||
|
||||
mkdir -p pkg/$prefix/opt/cloudfire/bin
|
||||
mv cloudfire-${MATRIX_ARCH} pkg/${MATRIX_OS}/opt/cloudfire/bin/cloudfire
|
||||
cd pkg
|
||||
dpkg-deb --build ${MATRIX_OS}_${MATRIX_ARCH}
|
||||
mv -f *.deb ../cloudfire_${MATRIX_OS}_${MATRIX_ARCH}.deb
|
||||
dpkg-deb --build pkg/$prefix
|
||||
mv -f $prefix.deb ../cloudfire_$prefix.deb
|
||||
|
||||
@@ -5,7 +5,10 @@ sudo apt-get update
|
||||
sudo apt-get install -y postgresql \
|
||||
wireguard iptables net-tools curl ca-certificates
|
||||
sudo systemctl start postgresql
|
||||
sudo dpkg -i cloudfire_${MATRIX_OS}_${MATRIX_ARCH}.deb
|
||||
|
||||
file=cloudfire_${MATRIX_OS}_${MATRIX_ARCH}.deb
|
||||
file $file
|
||||
sudo dpkg -i $file
|
||||
|
||||
echo "Enabling service..."
|
||||
sudo systemctl start cloudfire
|
||||
|
||||
Reference in New Issue
Block a user