Fix setup scripts path
This commit is contained in:
@@ -155,9 +155,10 @@ link_files() {
|
||||
ln -s "${PWD}/config/motion.conf" "/etc/motion/motion.conf"
|
||||
ln -s "${PWD}/config/msmtprc" "${MOTION_DIR}/.msmtprc"
|
||||
ln -s "${PWD}/config/muttrc" "${MOTION_DIR}/.muttrc"
|
||||
ln -s "${PWD}/scripts/alert" "${MOTION_DIR}/alert"
|
||||
ln -s "${PWD}/scripts/notify" "${MOTION_DIR}/notify"
|
||||
ln -s "${PWD}/scripts/sync" "${MOTION_DIR}/sync"
|
||||
mkdir -p "${MOTION_DIR}/scripts"
|
||||
ln -s "${PWD}/scripts/alert" "${MOTION_DIR}/scripts/alert"
|
||||
ln -s "${PWD}/scripts/notify" "${MOTION_DIR}/scripts/notify"
|
||||
ln -s "${PWD}/scripts/sync" "${MOTION_DIR}/scripts/sync"
|
||||
}
|
||||
|
||||
main() {
|
||||
|
||||
Reference in New Issue
Block a user