summaryrefslogtreecommitdiff
path: root/tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml
diff options
context:
space:
mode:
authorSrdjan Grubor <sgnn7@sgnn7.org>2014-01-21 19:30:57 -0800
committerSrdjan Grubor <sgnn7@sgnn7.org>2014-01-21 19:30:57 -0800
commitce5a91b83397d581f0e22fc954329cc09e6608bc (patch)
treead5d497f9e6e57159d7b9ef11126f4a8c1dbee55 /tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml
parent2b14911667321d895ec3e1b7343fc5dfa85bcfdb (diff)
Cleaned the scripts up to not be split by sudo prefix by using sudo variable per task
[endlessm/eos-sdk#1620]
Diffstat (limited to 'tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml')
-rw-r--r--tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml b/tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml
index f09d21f..3776298 100644
--- a/tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml
+++ b/tools/dev_env_setup/playbooks/create_eos_app_shortcuts.yaml
@@ -1,8 +1,16 @@
---
# vim:ff=unix ts=2 sw=2 ai expandtab
+- name: "Setting default personality"
+ shell: executable=/bin/bash eos-select-personality default
+
+- name: "Creating ~/.local/share/applications directory"
+ file: path=~/.local/share/applications state=directory
+ sudo: False
+
- name: "Creating EOS links for various apps"
- shell: cp /usr/share/applications/$item.desktop /usr/share/applications/eos-app-$item.desktop
+ shell: cp /usr/share/applications/$item.desktop ~/.local/share/applications/eos-app-$item.desktop
with_items:
- gnome-terminal
- devhelp
+ sudo: False