Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 700 - (show annotations) (download)
Sun Aug 2 18:19:20 2009 UTC (14 years, 10 months ago) by niro
File size: 1510 byte(s)
-re-diffed for 0.4.15
1 diff -Naur mage-0.4.15/usr/lib/mage/mage4.functions.sh mage-0.4.15-alx/usr/lib/mage/mage4.functions.sh
2 --- mage-0.4.15/usr/lib/mage/mage4.functions.sh 2009-06-30 22:58:16.000000000 +0200
3 +++ mage-0.4.15-alx/usr/lib/mage/mage4.functions.sh 2009-08-02 20:34:35.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 @@ -1823,8 +1821,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 @@ -1835,7 +1833,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 }