aboutsummaryrefslogtreecommitdiff
path: root/deployment
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
parent8b1a76a32e5c2d8677fc6bba62682cfc1af748e6 (diff)
Back up and restore control file
Diffstat (limited to 'deployment')
-rwxr-xr-xdeployment/build.debian.amd642
-rwxr-xr-xdeployment/build.debian.arm642
-rwxr-xr-xdeployment/build.debian.armhf2
-rwxr-xr-xdeployment/build.ubuntu.amd642
-rwxr-xr-xdeployment/build.ubuntu.arm642
-rwxr-xr-xdeployment/build.ubuntu.armhf2
6 files changed, 12 insertions, 0 deletions
diff --git a/deployment/build.debian.amd64 b/deployment/build.debian.amd64
index c43585161..0eb9ee5c8 100755
--- a/deployment/build.debian.amd64
+++ b/deployment/build.debian.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
diff --git a/deployment/build.debian.arm64 b/deployment/build.debian.arm64
index 4225c2f9d..d1ce85e2f 100755
--- a/deployment/build.debian.arm64
+++ b/deployment/build.debian.arm64
@@ -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
@@ -21,6 +22,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
diff --git a/deployment/build.debian.armhf b/deployment/build.debian.armhf
index f71a96041..394158354 100755
--- a/deployment/build.debian.armhf
+++ b/deployment/build.debian.armhf
@@ -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
@@ -21,6 +22,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
diff --git a/deployment/build.ubuntu.amd64 b/deployment/build.ubuntu.amd64
index e74db90c4..86653cb38 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
diff --git a/deployment/build.ubuntu.arm64 b/deployment/build.ubuntu.arm64
index 1d91b303a..f06517009 100755
--- a/deployment/build.ubuntu.arm64
+++ b/deployment/build.ubuntu.arm64
@@ -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
@@ -21,6 +22,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
diff --git a/deployment/build.ubuntu.armhf b/deployment/build.ubuntu.armhf
index efdc2b65b..679fde5ae 100755
--- a/deployment/build.ubuntu.armhf
+++ b/deployment/build.ubuntu.armhf
@@ -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
@@ -21,6 +22,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