f/pkg
This commit is contained in:
parent
5543b5de66
commit
c2459552e3
1 changed files with 16 additions and 16 deletions
|
@ -954,6 +954,20 @@ spcd_f_git_url() {
|
|||
fi
|
||||
}
|
||||
|
||||
# ╭───┬───────────────╮
|
||||
# │ f │ pkg = package │
|
||||
# ╰───┴───────────────╯
|
||||
|
||||
spcd_f_pkg_dos2unix() {
|
||||
spcd_step "Install dos2unix"
|
||||
spcd_f_pm_pkg_install "dos2unix"
|
||||
}
|
||||
|
||||
spcd_f_pkg_git() {
|
||||
spcd_step "Install Git"
|
||||
spcd_f_pm_pkg_install "git"
|
||||
}
|
||||
|
||||
# ╭───┬──────────────────────╮
|
||||
# │ f │ pm = package manager │
|
||||
# ╰───┴──────────────────────╯
|
||||
|
@ -1542,20 +1556,6 @@ Dir::Etc::SourceParts \"\";
|
|||
esac
|
||||
}
|
||||
|
||||
# ╭───┬──────────╮
|
||||
# │ s │ packages │
|
||||
# ╰───┴──────────╯
|
||||
|
||||
spcd_step__packages_install_dos2unix() {
|
||||
spcd_step "Install dos2unix"
|
||||
spcd_f_pm_pkg_install "dos2unix"
|
||||
}
|
||||
|
||||
spcd_step__packages_install_git() {
|
||||
spcd_step "Install Git"
|
||||
spcd_f_pm_pkg_install "git"
|
||||
}
|
||||
|
||||
# ╭──────╮
|
||||
# │ main │
|
||||
# ╰──────╯
|
||||
|
@ -1605,8 +1605,8 @@ spcd_main() {
|
|||
spcd_f_pm_https_verify
|
||||
spcd_f_pm_pkg_update
|
||||
spcd_f_pm_pkg_upgrade
|
||||
spcd_step__packages_install_dos2unix
|
||||
spcd_step__packages_install_git
|
||||
spcd_f_pkg_dos2unix
|
||||
spcd_f_pkg_git
|
||||
spcd_step_out
|
||||
# python
|
||||
spcd_step_in "Python"
|
||||
|
|
Loading…
Reference in a new issue