mirror of
https://github.com/opengapps/opengapps.git
synced 2025-11-08 07:54:31 +00:00
Add git-lfs tools check, drop lzip requirement
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ SCRIPTS="$TOP/scripts"
|
||||
. "$SCRIPTS/inc.tools.sh"
|
||||
|
||||
# Check tools
|
||||
checktools git lzip
|
||||
checktools git git-lfs
|
||||
|
||||
argument() {
|
||||
case $1 in
|
||||
|
||||
@@ -43,6 +43,11 @@ checktools() {
|
||||
echo 'aapt is outdated. Install a more recent version from the Android SDK and findable in sh $PATH.' >&2
|
||||
missing="$missing $command"
|
||||
fi;;
|
||||
git-lfs)
|
||||
if ! git lfs env | grep -q -e "filter.lfs.clean" || ! git lfs env | grep -q -e "filter.lfs.smudge" || ! git lfs env | grep -q -e "filter.lfs.process"; then
|
||||
echo 'Git LFS has not been set-up, please run "git lfs install".' >&2
|
||||
missing="$missing $command"
|
||||
fi;;
|
||||
#*)
|
||||
#echo "$command tool found and it is up to date." >&2;;
|
||||
esac
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ SCRIPTS="$TOP/scripts"
|
||||
. "$SCRIPTS/inc.sourceshelper.sh"
|
||||
|
||||
# Check tools
|
||||
checktools aapt coreutils git lzip
|
||||
checktools aapt coreutils git git-lfs
|
||||
|
||||
createcommit(){
|
||||
getapkproperties "$1"
|
||||
|
||||
Reference in New Issue
Block a user