xbps-remove: fix previous correctly: process XBPS_STATE_ALTGROUP states.
This commit is contained in:
parent
85f75c2531
commit
f69171320d
@ -117,13 +117,19 @@ state_cb_rm(const struct xbps_state_cb_data *xscd, void *cbdata _unused)
|
|||||||
syslog(LOG_ERR, "%s", xscd->desc);
|
syslog(LOG_ERR, "%s", xscd->desc);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
case XBPS_STATE_ALTGROUP_ADDED:
|
||||||
|
case XBPS_STATE_ALTGROUP_REMOVED:
|
||||||
|
case XBPS_STATE_ALTGROUP_SWITCHED:
|
||||||
|
case XBPS_STATE_ALTGROUP_LINK_ADDED:
|
||||||
|
case XBPS_STATE_ALTGROUP_LINK_REMOVED:
|
||||||
if (xscd->desc) {
|
if (xscd->desc) {
|
||||||
printf("%s\n", xscd->desc);
|
printf("%s\n", xscd->desc);
|
||||||
if (slog)
|
if (slog)
|
||||||
syslog(LOG_NOTICE, "%s", xscd->desc);
|
syslog(LOG_NOTICE, "%s", xscd->desc);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user