rpm/patches/001-faxsetup-server.patch
raw| 1 | diff --git a/etc/faxsetup.sh.in b/etc/faxsetup.sh.in |
| 2 | index c8859c6..51bb5b2 100644 |
| 3 | --- a/etc/faxsetup.sh.in |
| 4 | +++ b/etc/faxsetup.sh.in |
| 5 | @@ -305,7 +305,7 @@ fi |
| 6 | # if nothing specified on command line, default client+server |
| 7 | if [ $isClient = no ] && [ $isServer = no ]; then |
| 8 | isClient=yes |
| 9 | - isServer=yes |
| 10 | + rpm -q hylafax-server >/dev/null && isServer=yes |
| 11 | fi |
| 12 | |
| 13 | # |