Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

> use an installation script #2

Closed
ghost opened this issue Aug 20, 2020 · 3 comments
Closed

> use an installation script #2

ghost opened this issue Aug 20, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 20, 2020

an installation script

I think this should make the most efficient installation script since C is a very performant language.

#!/bin/sh

$CC -x c -o "$PWD/install-dots" - <<ENDINSTALLER
#include <stdlib.h>
int main(void) {
    return system("cp -r \"$PWD/.*\" \"$HOME\"");
}
ENDINSTALLER

"$PWD/install-dots"

I made this

@eepykate
Copy link
Owner

You made this? I made this.

https://i.imgur.com/mV8PQxj.gif

eepykate added a commit that referenced this issue Aug 20, 2020
@ghost
Copy link
Author

ghost commented Aug 20, 2020

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

@eepykate
Copy link
Owner

(i don't even know if i copied the right GPL file and or modified the right parts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant