Created
October 17, 2016 20:18
-
-
Save ndmanvar/bfe4a9ef8b6516c82a083aa3fd5743c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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