File mshv_start of Package mshv
#!/bin/bash # Copyright (c) 2018-2024 Walter Fey DL8FCL # This file is under MIT license # # MSHV requires the binary and the configuration directories in the same # subdirectory. This script is a hack to install MSHV to the home directory # and keep it up to date. if [ -d ~/.MSHV ]; then cp -rn /usr/share/mshv/* ~/.MSHV cp -u /usr/bin/mshv-bin ~/.MSHV cp -u /usr/share/mshv/settings/database/cty.dat ~/.MSHV/settings/database cp -u /usr/share/mshv/settings/mshv_status.txt ~/.MSHV cp -u /usr/share/mshv/settings/database/sat.dat ~/.MSHV/settings/database cp -u /usr/share/mshv/settings/database/tsil.3q ~/.MSHV/settings/database ~/.MSHV/mshv-bin else mkdir ~/.MSHV cp -r /usr/share/mshv/* ~/.MSHV cp /usr/bin/mshv-bin ~/.MSHV ~/.MSHV/mshv-bin fi