18 lines
372 B
Bash
18 lines
372 B
Bash
#!/bin/sh
|
|
if [ $1 == 0 ]; then
|
|
DST=${RPM_INSTALL_PREFIX}
|
|
mkdir -p ${DST}/plug/business/
|
|
touch ${DST}/plug/conflist.inf
|
|
|
|
mkdir -p ${DST}/etc/
|
|
touch ${DST}/etc/entrylist.conf
|
|
|
|
if [[ -f ${DST}/plug/conflist.inf ]];then
|
|
sed -i '/quic.inf/d' ${DST}/plug/conflist.inf
|
|
fi
|
|
|
|
if [[ -f ${DST}/etc/entrylist.conf ]];then
|
|
sed -i '/QUIC/d' ${DST}/etc/entrylist.conf
|
|
fi
|
|
fi
|