Skip to content

Commit

Permalink
Only use the moonbase install log if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalier38 committed Aug 23, 2012
1 parent b1b4d06 commit 657c128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/depends.lunar
Expand Up @@ -415,7 +415,7 @@ create_depends_cache()
}

# speedups for system moonbases:
if [ "$MOONBASE" == "/var/lib/lunar/moonbase" ] ; then
if [ "$MOONBASE" == "/var/lib/lunar/moonbase" ] && [ -f "$INSTALL_LOGS/moonbase-$(installed_version moonbase)" ] ; then
DEPFILES=$(grep "/DEPENDS$" "$INSTALL_LOGS/moonbase-$(installed_version moonbase)")
# don't forget zlocal:
if [ "$ZLOCAL_OVERRIDES" == "on" ] ; then
Expand Down

0 comments on commit 657c128

Please sign in to comment.