Closed Mte90 closed 10 years ago
Can you explain it a bit more? I am not sure if I fully understood what you are asking for.
This repo contain many scripts but install require a manually solution (also for the update). Is possible create a script that download, place for example in /usr/local/bin (auto completation for the console) and add the execution permission?
All you need to do right now to install these scripts is to just do a git clone
and then add the path to the directory to $PATH
.
Even if we have an install script, the users have to someone get that install script into their machine. So I am not sure if it would be super helpful.
But if you feel that there is a valid usecase then let me know and I will see if I can create one.
This is the script :-D
cd /tmp
git clone https://github.com/sudar/wp-plugin-in-github
chmod +x ./wp-plugin-in-github/*.sh
mv ./wp-plugin-in-github/*.sh /usr/local/bin/
rm -r ./wp-plugin-in-github
I actually just do git clone and add the directory to path. That way whenever there is update to the scripts they just have to do a git pull.
One small issue with the install script is that it is assuming nix (or nix like) system.
This is better because you don't need to add the directory path. Also the scripts of this repo are bash so Windows support is not required.
Is possible add a script or command for install and update this scripts?