Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bash Headstart
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cybersecurity
Bash Headstart
Commits
e54a7c62
Commit
e54a7c62
authored
3 years ago
by
Nikolaos Kakouros
Browse files
Options
Downloads
Patches
Plain Diff
fixes
parent
889a8e58
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
commands/core.d/bootstrap
+0
-1
0 additions, 1 deletion
commands/core.d/bootstrap
commands/core.d/bootstrap.d/arch.sh
+10
-1
10 additions, 1 deletion
commands/core.d/bootstrap.d/arch.sh
lib/system
+1
-1
1 addition, 1 deletion
lib/system
with
11 additions
and
3 deletions
commands/core.d/bootstrap
+
0
−
1
View file @
e54a7c62
...
@@ -208,7 +208,6 @@ function core_bootstrap() {
...
@@ -208,7 +208,6 @@ function core_bootstrap() {
core_parse_project_config
core_parse_project_config
core_bootstrap_git_collab
core_bootstrap_git_collab
# core_bootstrap_git_hooks
# core_bootstrap_git_hooks
core_bootstrap_git_branches
core_bootstrap_install_dependencies
core_bootstrap_install_dependencies
core_bootstrap_install_command
core_bootstrap_install_command
core_bootstrap_git_lay
core_bootstrap_git_lay
...
...
This diff is collapsed.
Click to expand it.
commands/core.d/bootstrap.d/arch.sh
+
10
−
1
View file @
e54a7c62
#!/usr/bin/env bash
#!/usr/bin/env bash
distro_pacman
=
"
${
distro_pacman
:-
sudo
pacman -S --noconfirm
}
"
if
which yaourt &>/dev/null
;
then
distro_pacman
=
"
${
distro_pacman
:-
yaourt
-S --noconfirm
}
"
distro_update_cmd
=
"
${
distro_update_cmd
:-
yaourt
-Syyuu --aur --noconfirm --devel
}
"
elif
which paru &>/dev/null
;
then
distro_pacman
=
"
${
distro_pacman
:-
paru
-S --noconfirm
}
"
distro_update_cmd
=
"
${
distro_pacman
:-
paru
-Syyuu --noconfirm
}
"
else
distro_pacman
=
"
${
distro_pacman
:-
sudo
pacman -S --noconfirm
}
"
distro_update_cmd
=
"
${
distro_update_cmd
:-
sudo
pacman -Syyuu --noconfirm
}
"
fi
distro_packages+
=(
distro_packages+
=(
"python"
"python"
...
...
This diff is collapsed.
Click to expand it.
lib/system
+
1
−
1
View file @
e54a7c62
...
@@ -154,7 +154,7 @@ function get_completions() {
...
@@ -154,7 +154,7 @@ function get_completions() {
}
}
}'
<<<
"
$help
"
}'
<<<
"
$help
"
)
"
)
"
c
=(
"
${
c
[@]%[[
:space:]]
}
"
)
c
=(
"
${
c
[@]%[[
:space:]]
}
"
)
if
[[
"
${#
rest
[@]
}
"
-gt
0
]]
;
then
if
[[
"
${#
rest
[@]
}
"
-gt
0
]]
;
then
unset
"rest[-1]"
unset
"rest[-1]"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment