Skip to content

Commit

Permalink
Remove the RequireRestart plugin with the hardcoded package names
Browse files Browse the repository at this point in the history
This has a fixed list of package names, which only works on fedora. It's much
better to do this in the backend which is typically distro specific.
  • Loading branch information
hughsie committed Nov 27, 2013
1 parent dbe1ad2 commit 0b3c7a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 143 deletions.
7 changes: 0 additions & 7 deletions src/plugins/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ plugin_LTLIBRARIES = \
libpk_plugin-update-package-cache.la \
libpk_plugin-scan-desktop-files.la \
libpk_plugin-systemd-updates.la \
libpk_plugin-require-restart.la \
libpk_plugin-clear-firmware-requests.la

libpk_plugin_systemd_updates_la_SOURCES = pk-plugin-systemd-updates.c
Expand Down Expand Up @@ -64,10 +63,4 @@ libpk_plugin_scan_desktop_files_la_LIBADD = $(PK_PLUGIN_LIBS)
libpk_plugin_scan_desktop_files_la_LDFLAGS = -module -avoid-version
libpk_plugin_scan_desktop_files_la_CFLAGS = $(PK_PLUGIN_CFLAGS) $(WARNINGFLAGS_C)

libpk_plugin_require_restart_la_SOURCES = \
pk-plugin-require-restart.c
libpk_plugin_require_restart_la_LIBADD = $(PK_PLUGIN_LIBS)
libpk_plugin_require_restart_la_LDFLAGS = -module -avoid-version
libpk_plugin_require_restart_la_CFLAGS = $(PK_PLUGIN_CFLAGS) $(WARNINGFLAGS_C)

-include $(top_srcdir)/git.mk
136 changes: 0 additions & 136 deletions src/plugins/pk-plugin-require-restart.c

This file was deleted.

0 comments on commit 0b3c7a7

Please sign in to comment.