implemented patchfile and pre post action of package manager, renamed pkgrem -> pkgrm
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# * PKGSEL: List of package to install
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_install_pkg="0.1.1"
|
||||
export VER_install_pkg="0.1.2"
|
||||
export DEP_install_pkg="upgrade_dist"
|
||||
|
||||
install_pkg()
|
||||
@@ -21,7 +21,7 @@ install_pkg()
|
||||
# Remove unnecessary packages
|
||||
if [[ -n $PKGS_RMLIST ]]; then
|
||||
prnt I "Suppression de paquets supperflus..."
|
||||
pkgrem $PKGS_RMLIST
|
||||
pkgrm $PKGS_RMLIST
|
||||
fi
|
||||
|
||||
# Blacklist some anoying packages (and remove them if needed)
|
||||
@@ -33,7 +33,7 @@ install_pkg()
|
||||
sed -i -e "s/@pkg@/pkg/" $dest
|
||||
|
||||
# If blacklisted we suppose uninstall as well (if neeeded)
|
||||
pkgrem $pkg
|
||||
pkgrm $pkg
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -45,7 +45,7 @@ install_pkg()
|
||||
|
||||
# Cleaning
|
||||
prnt I "Suppression des paquets résiduels le cas échéant..."
|
||||
pkgautorem
|
||||
pkgautorm
|
||||
}
|
||||
|
||||
precheck_install_pkg()
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
# * PROXYAPTPORT: Working port for APT proxy
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_upgrade_dist="0.1.2"
|
||||
export VER_upgrade_dist="0.1.3"
|
||||
|
||||
# As aptitude might fail if clock is too far from real time, we need to depend
|
||||
# on ntp
|
||||
@@ -53,7 +53,7 @@ upgrade_dist()
|
||||
pkgupgd
|
||||
|
||||
prnt I "Suppression des paquets résiduels..."
|
||||
pkgautorem
|
||||
pkgautorm
|
||||
}
|
||||
|
||||
precheck_upgrade_dist()
|
||||
|
||||
Reference in New Issue
Block a user