Skip to content

Jcpetrucci/bash-self-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

bash-self-updater

Purpose:

Function to retrieve latest version of a script and replace self if user wants.

Usage:

Update the variable masterURL with a path that the script will be retrieved from. Script will compare its own "Modify" comment line with the master. ... For a PoC download this script and append a character to the "Modify:" line. For value added change the final echo to say This is the body BEFORE UPDATING.

Demo:

Demo asciicast

About

Function to retrieve latest version of a script and replace self if user wants.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages