Skip to content

Instantly share code, notes, and snippets.

@ceremcem
Created February 14, 2016 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ceremcem/62a476d8c5115ce174a2 to your computer and use it in GitHub Desktop.
Save ceremcem/62a476d8c5115ce174a2 to your computer and use it in GitHub Desktop.
#!/bin/bash
#bash ./library-repos-install.sh --install-or-update
cd ~/kicad_sources/kicad-lib.bzr
bzr update
echo "Copying modules, library and template to /usr/local/share/kicad/"
sudo cp ~/kicad_sources/kicad-lib.bzr/{modules,library,template} /usr/local/share/kicad -a
sudo chown root:staff /usr/local/share/kicad/*
sudo chmod 755 /usr/local/share/kicad/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment