Changeset 3299


Ignore:
Timestamp:
Jan 13, 2017, 10:16:51 AM (2 years ago)
Author:
daduve
Message:

updating to show the mirror with metapackages info

Location:
lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/conkyrc_gui

    r3233 r3299  
    114114        touch $FICHERO
    115115
    116         VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp_*386.deb' | head -1 )
    117 
    118         if [ -n "$VERSION" ]; then
     116        ARQ=$(find /net/mirror/llx16/pool/main/l/lliurex-meta -name '*386.deb' | head -1 )
     117        VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp*.deb' | head -1)
     118
     119        if [ -n "$ARQ" ]; then
    119120                       
    120121                        NUMERO_32=$(echo $VERSION | cut -d_ -f2 )
     
    123124        fi
    124125
    125         VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp_*amd64.deb' | head -1)
    126 
    127         if [ -n "$VERSION" ]; then
     126        ARQ=$(find /net/mirror/llx16/pool/main/l/lliurex-meta -name '*amd64.deb' | head -1)
     127        VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp*.deb' | head -1)
     128
     129        if [ -n "$ARQ" ]; then
    128130                       
    129131                        NUMERO_64=$(echo $VERSION | cut -d_ -f2 )
    130132                        echo 'VERSION 64 BITS:' $NUMERO_64 >> $FICHERO
    131133                       
    132         fi     
     134        fi
    133135
    134136}
  • lliurex-conky/trunk/fuentes/lliurex-conky.install-files/usr/share/lliurex-conky/lliurex-conky

    r3233 r3299  
    8686        touch $FICHERO
    8787
    88         VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp_*386.deb' | head -1 )
     88        ARQ=$(find /net/mirror/llx16/pool/main/l/lliurex-meta -name '*386.deb' | head -1 )
     89        VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp*.deb' | head -1)
    8990
    90         if [ -n "$VERSION" ]; then
     91        if [ -n "$ARQ" ]; then
    9192                       
    9293                        NUMERO_32=$(echo $VERSION | cut -d_ -f2 )
     
    9596        fi
    9697
    97         VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp_*amd64.deb' | head -1)
     98        ARQ=$(find /net/mirror/llx16/pool/main/l/lliurex-meta -name '*amd64.deb' | head -1)
     99        VERSION=$(find /net/mirror/llx16/pool/main/l/lliurex-version-timestamp -name 'lliurex-version-timestamp*.deb' | head -1)
    98100
    99         if [ -n "$VERSION" ]; then
     101        if [ -n "$ARQ" ]; then
    100102                       
    101103                        NUMERO_64=$(echo $VERSION | cut -d_ -f2 )
Note: See TracChangeset for help on using the changeset viewer.