}
}
+apt_autoremove () {
+ log "Running autoremove ..."
+ apt-get -y$s --purge autoremove || {
+ dpkg --configure -a
+ apt-get -yf install
+ }
+}
+
remove_x() {
LC_MESSAGES=hr_HR dialog --backtitle "$title" --yesno "$msg_remove_x" 18 75
if [ $? -eq 0 ]; then
remove_orphaned () {
local package
+ apt_autoremove
+
for package in $orphaned_packages; do
if is_orphaned $package; then
pkgrm $package