Update image name
This commit is contained in:
parent
139e3c19ee
commit
37985c2e26
|
@ -11,7 +11,7 @@ package_temporary_dir="${WORKDIR}/pkg-dist-tmp"
|
||||||
package_source_dir="${WORKDIR}/pkg-src"
|
package_source_dir="${WORKDIR}/pkg-src"
|
||||||
output_dir="${WORKDIR}/pkg-dist"
|
output_dir="${WORKDIR}/pkg-dist"
|
||||||
current_user="$( whoami )"
|
current_user="$( whoami )"
|
||||||
image_name="jellyfin-rpm-build"
|
image_name="jellyfin-fedora-build"
|
||||||
|
|
||||||
rm -f "${package_source_dir}/jellyfin-${VERSION}.tar.gz" &>/dev/null \
|
rm -f "${package_source_dir}/jellyfin-${VERSION}.tar.gz" &>/dev/null \
|
||||||
|| sudo rm -f "${package_source_dir}/jellyfin-${VERSION}.tar.gz" &>/dev/null
|
|| sudo rm -f "${package_source_dir}/jellyfin-${VERSION}.tar.gz" &>/dev/null
|
||||||
|
|
|
@ -9,7 +9,7 @@ package_temporary_dir="${WORKDIR}/pkg-dist-tmp"
|
||||||
output_dir="${WORKDIR}/pkg-dist"
|
output_dir="${WORKDIR}/pkg-dist"
|
||||||
pkg_src_dir="${WORKDIR}/pkg-src"
|
pkg_src_dir="${WORKDIR}/pkg-src"
|
||||||
current_user="$( whoami )"
|
current_user="$( whoami )"
|
||||||
image_name="jellyfin-rpm-build"
|
image_name="jellyfin-fedora-build"
|
||||||
|
|
||||||
# Determine if sudo should be used for Docker
|
# Determine if sudo should be used for Docker
|
||||||
if [[ ! -z $(id -Gn | grep -q 'docker') ]] \
|
if [[ ! -z $(id -Gn | grep -q 'docker') ]] \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user