testing..
This commit is contained in:
parent
19e7c053fb
commit
ee2291a59c
1 changed files with 7 additions and 4 deletions
11
neovim.sh
11
neovim.sh
|
@ -32,6 +32,8 @@
|
||||||
sleep 0.3
|
sleep 0.3
|
||||||
rm "$import"
|
rm "$import"
|
||||||
# echo_warning "cleaned $import"
|
# echo_warning "cleaned $import"
|
||||||
|
|
||||||
|
source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
getDependencies() {
|
getDependencies() {
|
||||||
|
@ -66,6 +68,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
cloneSources() {
|
cloneSources() {
|
||||||
|
local err
|
||||||
cloneDir="$(mktemp -d)"
|
cloneDir="$(mktemp -d)"
|
||||||
# echo_pkg git "Cloning $PACKAGE sources at $cloneDir/neovim.."
|
# echo_pkg git "Cloning $PACKAGE sources at $cloneDir/neovim.."
|
||||||
|
|
||||||
|
@ -74,14 +77,15 @@
|
||||||
if command_exists git; then
|
if command_exists git; then
|
||||||
spin yellow "Cloning $PACKAGE sources at $cloneDir/neovim.."
|
spin yellow "Cloning $PACKAGE sources at $cloneDir/neovim.."
|
||||||
sleep 1
|
sleep 1
|
||||||
if run git clone --depth=1 https://github.com/neovim/neovim.git; then
|
if run --err err git clone --depth=1 https://github.com/neovim/neovim.git; then
|
||||||
cd neovim || throw "Cannot navigate into neovim"
|
|
||||||
|
|
||||||
check "Cloned sources"
|
check "Cloned sources"
|
||||||
line
|
line
|
||||||
|
|
||||||
|
cd neovim || throw "Cannot navigate into neovim"
|
||||||
# pen ${output:-}
|
# pen ${output:-}
|
||||||
else
|
else
|
||||||
throw "Cannot clone the repo.."
|
throw "Cannot clone the repo.."
|
||||||
|
pen bold red "The error: $err"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo_error "Git was required, but is missing.. exiting now"
|
echo_error "Git was required, but is missing.. exiting now"
|
||||||
|
@ -154,7 +158,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if getImports; then
|
if getImports; then
|
||||||
source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh"
|
|
||||||
# ─< package variable >───────────────────────────────────────────────────────────────────
|
# ─< package variable >───────────────────────────────────────────────────────────────────
|
||||||
unset PACKAGE
|
unset PACKAGE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue