mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
raise to 0.76
This commit is contained in:
parent
ee4739dcc5
commit
a78cde7a51
1 changed files with 8 additions and 3 deletions
11
dh
11
dh
|
@ -7,13 +7,17 @@ export "TEXTDOMAINDIR" "TEXTDOMAIN"
|
||||||
|
|
||||||
# bugs notice
|
# bugs notice
|
||||||
function some_bugs() {
|
function some_bugs() {
|
||||||
|
echo ""
|
||||||
echo $"Done"
|
echo $"Done"
|
||||||
|
echo ""
|
||||||
echo $"PS: You saw some bugs?"
|
echo $"PS: You saw some bugs?"
|
||||||
echo $"Could you please provide feedback?"
|
echo $"Could you please provide feedback?"
|
||||||
echo $"How do you like DistroHopper?"
|
echo $"How do you like DistroHopper?"
|
||||||
echo $"What can be improved, added, changed?"
|
echo $"What can be improved, added, changed?"
|
||||||
echo $" Let me know..."
|
echo $" Let me know..."
|
||||||
echo $"Flawless distro hopping..." && echo "zenobit"
|
echo ""
|
||||||
|
echo $"Wish you flawless distro hopping..."
|
||||||
|
echo " zenobit"
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_help() {
|
function show_help() {
|
||||||
|
@ -79,7 +83,7 @@ function set_variables() {
|
||||||
#bash -x ./dh 2>&1 | tee output.log
|
#bash -x ./dh 2>&1 | tee output.log
|
||||||
#progname="${progname:="${0##*/}"}"
|
#progname="${progname:="${0##*/}"}"
|
||||||
progname="DistroHopper"
|
progname="DistroHopper"
|
||||||
version="0.7"
|
version="0.76"
|
||||||
#GTK_THEME="alt-dialog"
|
#GTK_THEME="alt-dialog"
|
||||||
DH_CONFIG_DIR="$HOME/.config/distrohopper"
|
DH_CONFIG_DIR="$HOME/.config/distrohopper"
|
||||||
DH_CONFIG="$DH_CONFIG_DIR/distrohopper.conf"
|
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
|
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
|
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
|
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
|
elif grep -q openSUSE /etc/os-release; then
|
||||||
# openSUSE supports dnf, but the default is zypper
|
# openSUSE supports dnf, but the default is zypper
|
||||||
if hash dnf 2>/dev/null; then
|
if hash dnf 2>/dev/null; then
|
||||||
|
@ -444,7 +450,6 @@ set_variables
|
||||||
if [[ $# -eq 0 ]]; then
|
if [[ $# -eq 0 ]]; then
|
||||||
printf $"No argumet provided!\n\n"
|
printf $"No argumet provided!\n\n"
|
||||||
show_help
|
show_help
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while [[ $# -gt 0 ]]
|
while [[ $# -gt 0 ]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue