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