aboutsummaryrefslogtreecommitdiff
path: root/deployment/build.ubuntu.amd64
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-03-23 16:01:25 -0400
committerJoshua M. Boniface <joshua@boniface.me>2020-03-23 16:01:25 -0400
commiteb632e4a0dd5d83a1aea4c710caf1ea0f3ad6b0e (patch)
treeeaaaf9104fa1e39ee76e1d0b58d0436c16f6b545 /deployment/build.ubuntu.amd64
parent8b1a76a32e5c2d8677fc6bba62682cfc1af748e6 (diff)
Back up and restore control file
Diffstat (limited to 'deployment/build.ubuntu.amd64')
-rwxr-xr-xdeployment/build.ubuntu.amd642
1 files changed, 2 insertions, 0 deletions
diff --git a/deployment/build.ubuntu.amd64 b/deployment/build.ubuntu.amd64
index e74db90c43..86653cb384 100755
--- a/deployment/build.ubuntu.amd64
+++ b/deployment/build.ubuntu.amd64
@@ -10,6 +10,7 @@ pushd ${SOURCE_DIR}
if [[ ${IS_DOCKER} == YES ]]; then
# Remove build-dep for dotnet-sdk-3.1, since it's installed manually
+ cp debian/control debian/control.orig
sed -i '/dotnet-sdk-3.1,/d' debian/control
fi
@@ -20,6 +21,7 @@ mkdir -p ${ARTIFACT_DIR}/
mv ../jellyfin[-_]* ${ARTIFACT_DIR}/
if [[ ${IS_DOCKER} == YES ]]; then
+ mv debian/control.orig debian/control
chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}
fi