mirror of
https://github.com/frappe/bench.git
synced 2025-01-26 08:08:23 +00:00
fix: resolve filesystem app dependencies (#1450)
* fix: resolve private app dependencies * fix: removed additional check and moved self.on_disk to previous check.
This commit is contained in:
parent
934b2677c8
commit
f3b55f7785
@ -81,17 +81,15 @@ class AppMeta:
|
|||||||
if not self.is_repo:
|
if not self.is_repo:
|
||||||
self.repo = self.app_name = self.name
|
self.repo = self.app_name = self.name
|
||||||
return
|
return
|
||||||
|
|
||||||
# fetch meta from installed apps
|
# fetch meta from installed apps
|
||||||
if self.bench and os.path.exists(os.path.join(self.bench.name, "apps", self.name)):
|
if self.bench and os.path.exists(os.path.join(self.bench.name, "apps", self.name)):
|
||||||
self.mount_path = os.path.join(self.bench.name, "apps", self.name)
|
self.mount_path = os.path.join(self.bench.name, "apps", self.name)
|
||||||
self.from_apps = True
|
self.from_apps = True
|
||||||
self._setup_details_from_mounted_disk()
|
|
||||||
|
|
||||||
# fetch meta for repo on mounted disk
|
|
||||||
elif os.path.exists(self.mount_path):
|
|
||||||
self.on_disk = True
|
self.on_disk = True
|
||||||
self._setup_details_from_mounted_disk()
|
self._setup_details_from_mounted_disk()
|
||||||
|
|
||||||
|
|
||||||
# fetch meta for repo from remote git server - traditional get-app url
|
# fetch meta for repo from remote git server - traditional get-app url
|
||||||
elif is_git_url(self.name):
|
elif is_git_url(self.name):
|
||||||
self.is_url = True
|
self.is_url = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user