Skip to content

Commit 7203d55

Browse files
committed
Uninstall vim
1 parent 0a5703f commit 7203d55

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

scripts/uninstall-packages.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,15 @@ keep_first_installed_package 'io.github.alainm23.planify' 'org.gnome.Todo'
100100
# Terminal Emulators
101101
keep_first_installed_package 'gnome-console' 'gnome-terminal'
102102

103+
# Text Editors
104+
keep_first_installed_package 'micro' 'nano' 'vim' 'vi'
105+
106+
if ! does_bin_exist 'vim'; then
107+
uninstall_native_package 'vim-common'
108+
uninstall_native_package 'vim-runtime'
109+
uninstall_native_package 'vim-tiny'
110+
fi
111+
103112
# Video players
104113
uninstall_android_package 'com.mitv.mivideoplayer'
105114
uninstall_android_package 'com.mitv.videoplayer'
@@ -133,8 +142,6 @@ if [ "${DISTRO_FAMILY}" = 'Arch' ]; then
133142
uninstall_native_package "gnome-weather" # Replaced by flatpak: org.gnome.Weather
134143
uninstall_native_package "grub2-theme-vimix" # Replaced by grub2-theme-nuci
135144
uninstall_native_package "inkscape" # Replaced by flatpak: org.inkscape.Inkscape
136-
uninstall_native_package "nano-syntax-highlighting" # nano is to be uninstalled next
137-
uninstall_native_package "nano" # Replaced by micro
138145
uninstall_native_package "ntp" # Replaced by chrony
139146
uninstall_native_package "paper-icon-theme-git" # Replaced by paper-icon-theme
140147
uninstall_native_package "postman-bin" # Replaced by flatpak: com.getpostman.Postman

0 commit comments

Comments
 (0)