Back up and restore control file

This commit is contained in:
Joshua M. Boniface 2020-03-23 16:01:25 -04:00
parent 8b1a76a32e
commit eb632e4a0d
6 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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