更新 'debian/10.12.4/build-asterisk.sh'
This commit is contained in:
parent
8d1577bba4
commit
085c8ff91d
34
debian/10.12.4/build-asterisk.sh
vendored
34
debian/10.12.4/build-asterisk.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user