From 68df9d2216465c4e29f43fae78d526c7f00ccd26 Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Tue, 21 Dec 2021 18:28:04 +0100 Subject: [PATCH] all: bump version to 1.2.2 --- distrobox-create | 2 +- distrobox-enter | 2 +- distrobox-export | 2 +- distrobox-init | 2 +- install | 2 -- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/distrobox-create b/distrobox-create index 41be7b529f..1ff7013573 100755 --- a/distrobox-create +++ b/distrobox-create @@ -16,7 +16,7 @@ container_user_uid="$(id -ru)" distrobox_entrypoint_path="$(command -v distrobox-init)" distrobox_export_path="$(command -v distrobox-export)" verbose=0 -version="distrobox_version_placeholder" +version="1.2.2" # Print usage to stdout. # Arguments: diff --git a/distrobox-enter b/distrobox-enter index e05681ff96..5574389c01 100755 --- a/distrobox-enter +++ b/distrobox-enter @@ -16,7 +16,7 @@ container_command="$(basename "${container_command}") -l" container_name="fedora-toolbox-35" headless=0 verbose=0 -version="distrobox_version_placeholder" +version="1.2.2" # Print usage to stdout. # Arguments: diff --git a/distrobox-export b/distrobox-export index 0bbcbc60b0..72af416cb0 100755 --- a/distrobox-export +++ b/distrobox-export @@ -16,7 +16,7 @@ exported_service="" extra_flags="" is_sudo="" verbose=0 -version="distrobox_version_placeholder" +version="1.2.2" # We depend on some commands, let's be sure we have them base_dependencies="basename grep sed find" diff --git a/distrobox-init b/distrobox-init index 6f39d46e68..3d7b22ce2a 100755 --- a/distrobox-init +++ b/distrobox-init @@ -9,7 +9,7 @@ trap '[ "$?" -ne 0 ] && printf "Error: An error occurred\n"' EXIT # Defaults verbose=0 -version="distrobox_version_placeholder" +version="1.2.2" # Print usage to stdout. # Arguments: diff --git a/install b/install index 47fb16ab72..64a1161df0 100755 --- a/install +++ b/install @@ -69,7 +69,6 @@ if [ -f "${curr_dir}/distrobox-enter" ]; then fi for file in distrobox-*; do cp "${file}" "${dest_path}" - sed -i "s/distrobox_version_placeholder/${release_ver}/g" "${dest_path}/${file}" chmod 0755 "${dest_path}/${file}" done else @@ -91,7 +90,6 @@ else # deploy our files for file in "distrobox-$(echo "${release_name}" | sed 's/.tar.gz//g')"/distrobox-*; do cp "${file}" "${dest_path}" - sed -i "s/distrobox_version_placeholder/$(echo "${release_name}" | sed 's/.tar.gz//g')/g" "${dest_path}/$(basename "${file}")" chmod 0755 "${dest_path}/$(basename "${file}")" done