Changeset bb4b5c3 for common


Ignore:
Timestamp:
11/08/2013 10:10:11 PM (11 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
f60a8b7
Parents:
f1da335
Message:

Permission problem again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_download_pkgs

    rf1da335 rbb4b5c3  
    2727  [[ ! -d $BUILDDIR/sources ]] && mkdir $BUILDDIR/sources
    2828  cd $BUILDDIR/sources
    29   [[ -f MD5SUMS ]] && rm MD5SUMS
    30   [[ -f MISSING_FILES.DMP ]] && rm MISSING_FILES.DMP
    31   [[ -f urls.lst ]] && rm urls.lst
     29    # If using CLFS, /sources is writable by all, but with sticky bit,
     30    # and user does not hold MD5SUMS nor the other files, so use sudo
     31  [[ -f MD5SUMS ]] && sudo rm MD5SUMS
     32  [[ -f MISSING_FILES.DMP ]] && sudo rm MISSING_FILES.DMP
     33  [[ -f urls.lst ]] && sudo rm urls.lst
    3234
    3335    # Generate URLs file
Note: See TracChangeset for help on using the changeset viewer.