Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
mycroft-core
create-initial-user-configuration.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File create-initial-user-configuration.sh of Package mycroft-core
#!/bin/sh [[ -e ~/.mycroft/mycroft.conf ]] && exit 0 echo "Creating initial user configuration at ~/.mycroft/mycroft.conf ... " [[ -d ~/.mycroft ]] || mkdir ~/.mycroft cp /usr/share/mycroft-core/mycroft-user-template.conf ~/.mycroft/mycroft.conf sed -i -e "s,HOME_MYCROFT_DIR,$HOME/.mycroft," ~/.mycroft/mycroft.conf sed -i -e "s,HOME_SKILL_DIR,$HOME/.mycroft/skills," ~/.mycroft/mycroft.conf sed -i -e "s,HOME_SKILLS_REPO_DIR,$HOME/.mycroft/.skills-repo," ~/.mycroft/mycroft.conf echo "Installing the default skills ... " mkdir -p ~/.mycroft/skills # Load the default skills msm default echo "Done"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor