bugfixes
This commit is contained in:
parent
bb7ca6bbe6
commit
5d80cf2047
1 changed files with 5 additions and 5 deletions
10
swww.sh
10
swww.sh
|
@ -13,7 +13,7 @@
|
||||||
# arch = bool
|
# arch = bool
|
||||||
# fedora = bool
|
# fedora = bool
|
||||||
# opensuse = bool....
|
# opensuse = bool....
|
||||||
# You can then use it for, `if arch; then`
|
# You can then use it for, `if $arch; then`
|
||||||
# Also this gives you the _install command, which installs a package pased on the packagemanager/distro used.
|
# Also this gives you the _install command, which installs a package pased on the packagemanager/distro used.
|
||||||
# CAUTION:
|
# CAUTION:
|
||||||
# This only wokrs for generic package names, like neovim, or vim, or tmux etc..
|
# This only wokrs for generic package names, like neovim, or vim, or tmux etc..
|
||||||
|
@ -22,16 +22,16 @@
|
||||||
i="https://git.k4li.de/scripts/imports/raw/branch/main/distros.sh"
|
i="https://git.k4li.de/scripts/imports/raw/branch/main/distros.sh"
|
||||||
import="$(mktemp)"
|
import="$(mktemp)"
|
||||||
if command_exists curl; then
|
if command_exists curl; then
|
||||||
curl -fsSL i -o import
|
curl -fsSL $i -o $import
|
||||||
else
|
else
|
||||||
echo "curl is required, but missing.."
|
echo "curl is required, but missing.."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source "import"
|
source "$import"
|
||||||
sleep 0.3
|
sleep 0.3
|
||||||
rm "import"
|
rm "$import"
|
||||||
echo_warning "cleaned import"
|
echo_warning "cleaned $import"
|
||||||
}
|
}
|
||||||
|
|
||||||
checkBuildDependencies() {
|
checkBuildDependencies() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue