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
|
||||
# fedora = 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.
|
||||
# CAUTION:
|
||||
# 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"
|
||||
import="$(mktemp)"
|
||||
if command_exists curl; then
|
||||
curl -fsSL i -o import
|
||||
curl -fsSL $i -o $import
|
||||
else
|
||||
echo "curl is required, but missing.."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source "import"
|
||||
source "$import"
|
||||
sleep 0.3
|
||||
rm "import"
|
||||
echo_warning "cleaned import"
|
||||
rm "$import"
|
||||
echo_warning "cleaned $import"
|
||||
}
|
||||
|
||||
checkBuildDependencies() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue