diff options
| author | songyanchao <[email protected]> | 2024-03-26 14:20:19 +0800 |
|---|---|---|
| committer | songyanchao <[email protected]> | 2024-03-26 14:20:19 +0800 |
| commit | cb92ddfed40e724313b3a71a88d94ac2612dbef4 (patch) | |
| tree | 310ed60e3f0ccffa34748691ed17097ffecdc4ea /cmake/PostUninstall.in | |
| parent | 98190e3d503a3d345686f256ff8cc711bcf73975 (diff) | |
🐞 fix: Refine postuninstall script.v4.8.0-20240326
Refine postuninstall script.
Diffstat (limited to 'cmake/PostUninstall.in')
| -rw-r--r-- | cmake/PostUninstall.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/PostUninstall.in b/cmake/PostUninstall.in index 4f0e9f0..dc3bb52 100644 --- a/cmake/PostUninstall.in +++ b/cmake/PostUninstall.in @@ -1,7 +1,7 @@ %systemd_postun_with_restart mrenv.service mrzcpd.service mrtunnat.service /sbin/ldconfig -if [ $ 1 -eq 0 ]; then +if [ $1 -eq 0 ]; then command="update-alternatives --remove mrzcpd @CMAKE_INSTALL_PREFIX@/@MR_INSTALL_BINDIR@/mrzcpd --altdir @CMAKE_INSTALL_PREFIX@/altdir" eval $command fi |
