Add new config files
This commit is contained in:
parent
a1cb12db8c
commit
f7ccf496a8
50
install.sh
50
install.sh
@ -550,6 +550,56 @@ do
|
||||
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
|
||||
done
|
||||
|
||||
#=====================================================================================#
|
||||
|
||||
configfile="mailout.ini"
|
||||
config=('ExportEchoMail')
|
||||
preparray=("${configarray[@]}")
|
||||
for el in ${config[@]}
|
||||
do
|
||||
preparray=("${preparray[@]/$el}")
|
||||
done
|
||||
|
||||
cat General ${config[@]} > ${MYSTIC_DIR}/${configfile}
|
||||
for el in ${preparray[@]}
|
||||
do
|
||||
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
|
||||
done
|
||||
|
||||
|
||||
#=====================================================================================#
|
||||
|
||||
configfile="mailin.ini"
|
||||
config=('ImportEchoMail' 'FileToss')
|
||||
preparray=("${configarray[@]}")
|
||||
for el in ${config[@]}
|
||||
do
|
||||
preparray=("${preparray[@]/$el}")
|
||||
done
|
||||
|
||||
cat General ${config[@]} > ${MYSTIC_DIR}/${configfile}
|
||||
for el in ${preparray[@]}
|
||||
do
|
||||
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
|
||||
done
|
||||
|
||||
|
||||
#=====================================================================================#
|
||||
|
||||
configfile="importna.ini"
|
||||
config=('Import_FIDONET.NA' 'Import_FILEBONE.NA')
|
||||
preparray=("${configarray[@]}")
|
||||
for el in ${config[@]}
|
||||
do
|
||||
preparray=("${preparray[@]/$el}")
|
||||
done
|
||||
|
||||
cat General ${config[@]} > ${MYSTIC_DIR}/${configfile}
|
||||
for el in ${preparray[@]}
|
||||
do
|
||||
sed -e "/$el/d" -i ${MYSTIC_DIR}/${configfile}
|
||||
done
|
||||
|
||||
|
||||
#=====================================================================================#
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user