mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 04:13:59 +00:00
fix bug for unknown profile
This commit is contained in:
@@ -72,8 +72,8 @@ def cmd_install(o):
|
|||||||
"""install dotfiles for this profile"""
|
"""install dotfiles for this profile"""
|
||||||
dotfiles = o.dotfiles
|
dotfiles = o.dotfiles
|
||||||
prof = o.conf.get_profile(o.profile)
|
prof = o.conf.get_profile(o.profile)
|
||||||
pro_pre_actions = prof.get_pre_actions()
|
pro_pre_actions = prof.get_pre_actions() if prof else []
|
||||||
pro_post_actions = prof.get_post_actions()
|
pro_post_actions = prof.get_post_actions() if prof else []
|
||||||
|
|
||||||
if o.install_keys:
|
if o.install_keys:
|
||||||
# filtered dotfiles to install
|
# filtered dotfiles to install
|
||||||
|
|||||||
Reference in New Issue
Block a user