Skip to content

Instantly share code, notes, and snippets.

@ndmanvar
Created October 17, 2016 20:18
Show Gist options
  • Save ndmanvar/bfe4a9ef8b6516c82a083aa3fd5743c6 to your computer and use it in GitHub Desktop.
Save ndmanvar/bfe4a9ef8b6516c82a083aa3fd5743c6 to your computer and use it in GitHub Desktop.
while false do
if file.exists? then
content = read(file)
if content == 'delete file/folder x' then
# delete file/folder x
elsif content == 'install plugin y' then
# install plugin y, or call script that will install plugin y
elsif content == 'some other thing'
# insert other commands as needed
end
delete_file(file)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment