mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
make: lint a couple of shell scripts we can easily find
This commit is contained in:
parent
159d2fd20e
commit
11561ba4da
2
Makefile
2
Makefile
@ -168,6 +168,8 @@ plist: force
|
||||
@${MAKE} -C ${.CURDIR}/src plist
|
||||
|
||||
lint: force
|
||||
find ${.CURDIR}/src ${.CURDIR}/scripts \
|
||||
-name "*.sh" -type f -print0 | xargs -0 -n1 sh -n
|
||||
find ${.CURDIR}/src ${.CURDIR}/lang/dynamic/helpers \
|
||||
! -name "*.xml" ! -name "*.xml.sample" ! -name "*.eot" \
|
||||
! -name "*.svg" ! -name "*.woff" ! -name "*.woff2" \
|
||||
|
||||
@ -226,6 +226,4 @@ if [ "$pkg_running" == "" ]; then
|
||||
last_check=`date`
|
||||
# Write our json structure to disk
|
||||
echo "{\"connection\":\"$connection\",\"repository\":\"$repository\",\"last_check\":\"$last_check\",\"updates\":\"$updates\",\"download_size\":\"$download_size\",\"extra_space_required\":\"$required_space\",\"new_packages\":[$packages_new],\"reinstall_packages\":[$packages_reinstall],\"upgrade_packages\":[$packages_upgraded],\"upgrade_needs_reboot\":\"$upgrade_needs_reboot\"}"
|
||||
else
|
||||
# pkg is already running, quitting
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user