Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jpallen committed Feb 13, 2013
1 parent d47d1fe commit 40662df
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 124 deletions.
21 changes: 21 additions & 0 deletions script/ensure_token_exists
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!script/runner

token = ARGV[0]

if !token
print "Usage: script/runner script/ensure_token_exists <token>"
end

u = User.find_by_token token

if !u
print "Creating token..."
u = User.create :token => token
u.token = token
u.save
print "done\n"
else
print "Token already exists\n"
end


24 changes: 0 additions & 24 deletions script/mount_clsi

This file was deleted.

41 changes: 0 additions & 41 deletions script/mount_wildcard_resource_filesystem

This file was deleted.

59 changes: 0 additions & 59 deletions script/remote_latex

This file was deleted.

0 comments on commit 40662df

Please sign in to comment.