always reclone profiles, to ensure they are always up to date
This commit is contained in:
parent
1b9bee6118
commit
04b8d67bba
|
|
@ -104,17 +104,10 @@ show_elapsed_time(){
|
||||||
|
|
||||||
installer_getarmprofiles () {
|
installer_getarmprofiles () {
|
||||||
info "Getting package lists ready for $DEVICE $EDITION edition..."
|
info "Getting package lists ready for $DEVICE $EDITION edition..."
|
||||||
|
rm -rf $TMPDIR/arm-profiles
|
||||||
if [ -d "$TMPDIR/arm-profiles/" ];
|
|
||||||
then
|
|
||||||
cd $TMPDIR/arm-profiles
|
|
||||||
git fetch origin 1> /dev/null 2>&1
|
|
||||||
git reset --hard origin/master 1> /dev/null 2>&1
|
|
||||||
else
|
|
||||||
mkdir -p $TMPDIR
|
mkdir -p $TMPDIR
|
||||||
chmod 777 $TMPDIR
|
chmod 777 $TMPDIR
|
||||||
git clone https://gitlab.manjaro.org/manjaro-arm/applications/arm-profiles.git $TMPDIR/arm-profiles/ 1> /dev/null 2>&1
|
git clone https://gitlab.manjaro.org/manjaro-arm/applications/arm-profiles.git $TMPDIR/arm-profiles/ 1> /dev/null 2>&1
|
||||||
fi
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue