Kerala Cyber Warriors
KCW Uploader V1.1

Path : /var/lib/dpkg/info/
File Upload :
Current File : //var/lib/dpkg/info/automake.preinst

#!/bin/sh

set -e

if [ "$1" = "upgrade" ]; then
    if dpkg --compare-versions "$2" ge "1:1.11" && \
        dpkg --compare-versions "$2" lt "1:1.12"; then
        update-alternatives --remove automake /usr/bin/automake-1.11
    fi
    if dpkg --compare-versions "$2" ge "1:1.12" && \
        dpkg --compare-versions "$2" lt "1:1.13"; then
        update-alternatives --remove automake /usr/bin/automake-1.12
    fi
    if dpkg --compare-versions "$2" ge "1:1.13" && \
        dpkg --compare-versions "$2" lt "1:1.14"; then
        update-alternatives --remove automake /usr/bin/automake-1.13
    fi
    if dpkg --compare-versions "$2" ge "1:1.14" && \
        dpkg --compare-versions "$2" lt "1:1.15"; then
        update-alternatives --remove automake /usr/bin/automake-1.14
    fi
    if dpkg --compare-versions "$2" ge "1:1.15" && \
        dpkg --compare-versions "$2" lt "1:1.16"; then
        update-alternatives --remove automake /usr/bin/automake-1.15
    fi
fi



-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ