Compare commits
No commits in common. "d5182d4a7cf58e697a21310360f379573ef52995" and "4a4721dbcc0e57ec8dfd490e9cc9bfc6357e4b72" have entirely different histories.
d5182d4a7c
...
4a4721dbcc
1 changed files with 3 additions and 7 deletions
|
@ -13,11 +13,6 @@ upgrade_system() {
|
|||
;;
|
||||
|
||||
'linux')
|
||||
# Flatpak (could be just about any distro)
|
||||
if command -v flatpak &> /dev/null; then
|
||||
flatpak update
|
||||
fi
|
||||
|
||||
# Debian/Ubuntu
|
||||
if command -v apt &> /dev/null; then
|
||||
sudo sh -c 'apt update && apt upgrade'
|
||||
|
@ -37,8 +32,9 @@ upgrade_system() {
|
|||
;;
|
||||
esac
|
||||
|
||||
if command -v nvim &> /dev/null; then
|
||||
nvim -c 'PaqSync' -c 'sleep 5' -c 'qa'
|
||||
if command -v vim &> /dev/null; then
|
||||
vim -c 'PlugUpgrade | q'
|
||||
vim -c 'PlugUpdate | sleep 3 | qa'
|
||||
fi
|
||||
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue