From a78cde7a5151291379f88e726e1ade2fb5fba252 Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 28 Mar 2023 02:39:56 +0200 Subject: [PATCH] raise to 0.76 --- dh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dh b/dh index 5600ef9..04649c0 100755 --- a/dh +++ b/dh @@ -7,13 +7,17 @@ export "TEXTDOMAINDIR" "TEXTDOMAIN" # bugs notice function some_bugs() { + echo "" echo $"Done" + echo "" echo $"PS: You saw some bugs?" echo $"Could you please provide feedback?" echo $"How do you like DistroHopper?" echo $"What can be improved, added, changed?" echo $" Let me know..." - echo $"Flawless distro hopping..." && echo "zenobit" + echo "" + echo $"Wish you flawless distro hopping..." + echo " zenobit" } function show_help() { @@ -79,7 +83,7 @@ function set_variables() { #bash -x ./dh 2>&1 | tee output.log #progname="${progname:="${0##*/}"}" progname="DistroHopper" - version="0.7" + version="0.76" #GTK_THEME="alt-dialog" DH_CONFIG_DIR="$HOME/.config/distrohopper" DH_CONFIG="$DH_CONFIG_DIR/distrohopper.conf" @@ -121,6 +125,8 @@ function install_prereq() { sudo xbps-install -S qemu bash coreutils grep jq procps-ng python3 util-linux sed spice-gtk swtpm usbutils wget xdg-user-dirs xrandr unzip zsync socat gettext yad fzf elif grep -q fedora /etc/os-release; then sudo dnf install qemu bash coreutils edk2-tools grep jq lsb procps python3 genisoimage usbutils util-linux sed spice-gtk-tools swtpm wget xdg-user-dirs xrandr unzip gettext yad fzf + elif grep -q nix /etc/os-release; then + echo "#TODO" elif grep -q openSUSE /etc/os-release; then # openSUSE supports dnf, but the default is zypper if hash dnf 2>/dev/null; then @@ -444,7 +450,6 @@ set_variables if [[ $# -eq 0 ]]; then printf $"No argumet provided!\n\n" show_help - exit 0 fi while [[ $# -gt 0 ]]