update
This commit is contained in:
1 parent
adf8c793df
commit
9588e41d00
2 files changed
+4
-5
No files matched your search
@@ -10,9 +10,6 @@ case $OS_CODE in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
configure(){
|
configure(){
|
||||||
cp .zshrc $HOME
|
|
||||||
usermod -s /usr/bin/zsh $(whoami)
|
|
||||||
|
|
||||||
sed -i -r "s/.*set tabsize.*/set tabsize 4/g" /etc/nanorc
|
sed -i -r "s/.*set tabsize.*/set tabsize 4/g" /etc/nanorc
|
||||||
sed -i -r "s/.*set tabstospaces.*/set tabstospaces/g" /etc/nanorc
|
sed -i -r "s/.*set tabstospaces.*/set tabstospaces/g" /etc/nanorc
|
||||||
|
|
||||||
@@ -42,7 +39,7 @@ configure(){
|
|||||||
command="nala"
|
command="nala"
|
||||||
apt update
|
apt update
|
||||||
apt install $command || command="apt"
|
apt install $command || command="apt"
|
||||||
$command install ca-certificates curl gnupg lsb-release
|
$command install ca-certificates curl gnupg lsb-release zsh
|
||||||
|
|
||||||
|
|
||||||
if [[ $OS_VERSION=="12" ]]; then
|
if [[ $OS_VERSION=="12" ]]; then
|
||||||
@@ -64,6 +61,9 @@ configure(){
|
|||||||
tee /etc/apt/sources.list.d/ookla_speedtest-cli.list
|
tee /etc/apt/sources.list.d/ookla_speedtest-cli.list
|
||||||
curl -fsSL "https://packagecloud.io/ookla/speedtest-cli/gpgkey" | \
|
curl -fsSL "https://packagecloud.io/ookla/speedtest-cli/gpgkey" | \
|
||||||
gpg --dearmor | tee /etc/apt/trusted.gpg.d/ookla_speedtest-cli-archive-keyring.gpg > /dev/null
|
gpg --dearmor | tee /etc/apt/trusted.gpg.d/ookla_speedtest-cli-archive-keyring.gpg > /dev/null
|
||||||
|
|
||||||
|
cp .zshrc $HOME
|
||||||
|
usermod -s /usr/bin/zsh $(whoami)
|
||||||
}
|
}
|
||||||
|
|
||||||
install_pkg(){
|
install_pkg(){
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ exa
|
|||||||
bat
|
bat
|
||||||
fzf
|
fzf
|
||||||
netcat-openbsd
|
netcat-openbsd
|
||||||
zsh
|
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
iperf3
|
iperf3
|
||||||
|
|||||||
Reference in new issue
Block a user