-Amélioré fonctions de download des packages
[hvlinux.git] / stage6 / packages-update
old mode 100644 (file)
new mode 100755 (executable)
index ed15912..d56ebdc
@@ -1,16 +1,12 @@
-#!/bin/sh
+#!/bin/bash
 
-# Must be defined before sourcing other files.
-LFS_STAGE="stage4"
+USE_LFS_PATCHES=1
+USE_BLFS_PATCHES=1
+USE_HV_PATCHES=1
 
-# Reading system configuration informations, functions and package versions.
-source ../functions
-source ../functions-update
-source ../packages-list
+source ../functions/main
 
-update_packages_init
-
-# Begin
+update_packages_init ${*}
 
 # Gnome 2 core packages
 fpkg_gnome ${ORBIT2}
@@ -98,5 +94,4 @@ fpkg       ${ABIWORD} "http://www.abisource.com/downloads/abiword/$(get_pkg_ver
 fpkg_gnome ${EVOLUTION_EXCHANGE}
 fpkg_gnome ${EVOLUTION}
 
-# Return last error
 exit $?