Magellan Linux

Contents of /smage/trunk/core/mage/alx/files/mage-0.4.10-alx.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (show annotations) (download)
Sun Jan 25 12:25:46 2009 UTC (15 years, 4 months ago) by niro
File size: 1506 byte(s)
-updated alx patches for 0.4.10
1 diff -Naur mage-0.4.9/usr/lib/mage/mage4.functions.sh mage-0.4.9-alx/usr/lib/mage/mage4.functions.sh
2 --- mage-0.4.9/usr/lib/mage/mage4.functions.sh 2008-02-26 20:49:20.000000000 +0100
3 +++ mage-0.4.9-alx/usr/lib/mage/mage4.functions.sh 2008-06-10 22:54:23.000000000 +0200
4 @@ -55,7 +55,7 @@
5 fi
6
7 echo -e " ${COLBLUE}***${COLDEFAULT} unpacking (${count_current}/${count_total}): ${pkg} ... "
8 - tar xjmf ${PKGDIR}/${pkg} -C ${BUILDDIR} || die "Unpacking package ${pkg}"
9 + tar xjf ${PKGDIR}/${pkg} -C ${BUILDDIR} || die "Unpacking package ${pkg}"
10 done
11
12 # add a crlf for a better view
13 @@ -1154,9 +1154,7 @@
14 [[ ${VERBOSE} = off ]] && opt="--quiet"
15 wget \
16 --passive-ftp \
17 - --tries 3 \
18 --continue \
19 - --progress bar \
20 --directory-prefix=${PKGDIR} \
21 ${opt} ${mirr}/${PACKAGES_SERVER_PATH}/${pkg}
22 if [[ $? = 0 ]]
23 @@ -1766,8 +1764,8 @@
24 local newest_mage
25 local installed_mage
26
27 - newest_mage="$(basename $(get_highest_magefile app-mage mage) .mage)"
28 - installed_mage="$(magequery -n mage | cut -d' ' -f5)"
29 + newest_mage="$(basename $(get_highest_magefile app-mage mage-alx) .mage)"
30 + installed_mage="$(magequery -n mage-alx | cut -d' ' -f5)"
31
32 if [[ ${newest_mage} > ${installed_mage} ]]
33 then
34 @@ -1778,7 +1776,7 @@
35 echo "or your current system installation may break."
36 echo
37 echo -en "Please update mage by running "
38 - echo -e ${COLGREEN}"'mage install mage'"${COLDEFAULT}
39 + echo -e ${COLGREEN}"'mage install mage-alx'"${COLDEFAULT}
40 echo
41 fi
42 }