mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
clean up
This commit is contained in:
committed by
missytake
parent
acbf370383
commit
8768e6fd0b
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# this script requires curl, osc and debuild installed.
|
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
echo "Installing dependencies for this script:"
|
echo "Installing dependencies for this script:"
|
||||||
sudo apt install devscripts build-essential osc curl git debhelper-compat
|
sudo apt install devscripts build-essential osc curl git debhelper-compat
|
||||||
@@ -28,12 +26,13 @@ curl http://deb.debian.org/debian/pool/main/d/dovecot/dovecot_2.3.21+dfsg1.orig-
|
|||||||
echo "Cloning the Chatmail Dovecot fork..."
|
echo "Cloning the Chatmail Dovecot fork..."
|
||||||
git clone https://github.com/chatmail/dovecot.git
|
git clone https://github.com/chatmail/dovecot.git
|
||||||
|
|
||||||
# Build the Package
|
# Build the source package
|
||||||
echo "Building the package..."
|
echo "Building the source package"
|
||||||
cd dovecot
|
cd dovecot
|
||||||
dpkg-source -b .
|
dpkg-source -b .
|
||||||
|
|
||||||
# Setting up OSC
|
# Setting up OSC
|
||||||
|
echo "Setting up OBS home repository"
|
||||||
mkdir $OBS_PATH
|
mkdir $OBS_PATH
|
||||||
cd $OBS_PATH
|
cd $OBS_PATH
|
||||||
rm -rf home:deltachat/dovecot
|
rm -rf home:deltachat/dovecot
|
||||||
@@ -50,11 +49,9 @@ cp -rf dovecot_2.3.21+dfsg1-3.dsc $REPO_PATH
|
|||||||
# Push Changes to OBS
|
# Push Changes to OBS
|
||||||
echo "Pushing changes to OBS..."
|
echo "Pushing changes to OBS..."
|
||||||
cd $REPO_PATH
|
cd $REPO_PATH
|
||||||
|
|
||||||
osc up
|
osc up
|
||||||
osc add dovecot_2.3.21+dfsg1-3.debian.tar.xz
|
osc add dovecot_2.3.21+dfsg1-3.debian.tar.xz
|
||||||
osc add dovecot_2.3.21+dfsg1.orig.tar.gz
|
osc add dovecot_2.3.21+dfsg1.orig.tar.gz
|
||||||
osc add dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz
|
osc add dovecot_2.3.21+dfsg1.orig-pigeonhole.tar.gz
|
||||||
osc add dovecot_2.3.21+dfsg1-3.dsc
|
osc add dovecot_2.3.21+dfsg1-3.dsc
|
||||||
|
|
||||||
osc commit
|
osc commit
|
||||||
|
|||||||
Reference in New Issue
Block a user