summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-24 17:53:54 -0400
committermidipix <writeonce@midipix.org>2016-09-24 19:47:58 -0400
commit0fb20a657d44f0afd5f1feed096cfe434fb6b56f (patch)
tree14dd4fffaf77a6cbfff7182f64dcf32f43b8669b /src/driver
parentd6e753a79665a44edb2832cb33793914ca549d44 (diff)
downloadslibtool-0fb20a657d44f0afd5f1feed096cfe434fb6b56f.tar.bz2
slibtool-0fb20a657d44f0afd5f1feed096cfe434fb6b56f.tar.xz
uninstall mode: initial implementation.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_amain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index 8c29e8d..25a1159 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -67,6 +67,9 @@ static void slbt_perform_driver_actions(struct slbt_driver_ctx * dctx)
if (dctx->cctx->mode == SLBT_MODE_LINK)
slbt_exec_link(dctx,0);
+
+ if (dctx->cctx->mode == SLBT_MODE_UNINSTALL)
+ slbt_exec_uninstall(dctx,0);
}
static void slbt_perform_unit_actions(struct slbt_unit_ctx * uctx)