更新 'debian/10.12.4/build-asterisk.sh'

This commit is contained in:
zhongjin 2023-01-18 21:56:45 +08:00
parent 8d1577bba4
commit 085c8ff91d

View File

@ -130,25 +130,25 @@ chown -R asterisk:asterisk /etc/asterisk \
chmod -R 750 /var/spool/asterisk
cd /
rm -rf /usr/src/asterisk \
/usr/src/codecs
#rm -rf /usr/src/asterisk \
# /usr/src/codecs
DEVPKGS="$(dpkg -l | grep '\-dev' | awk '{print $2}' | xargs)"
DEBIAN_FRONTEND=noninteractive apt-get --yes -qq purge \
autoconf \
build-essential \
bzip2 \
cpp \
m4 \
make \
patch \
perl \
perl-modules \
pkg-config \
xz-utils \
${DEVPKGS} \
> /dev/null
#DEBIAN_FRONTEND=noninteractive apt-get --yes -qq purge \
# autoconf \
# build-essential \
# bzip2 \
# cpp \
# m4 \
# make \
# patch \
# perl \
# perl-modules \
# pkg-config \
# xz-utils \
# ${DEVPKGS} \
#> /dev/null
rm -rf /var/lib/apt/lists/*
#rm -rf /var/lib/apt/lists/*
exec rm -f /build-asterisk.sh