+@task
+def link(c):
+ if os.path.isdir(link_to):
+ print("Moving existing files...")
+ c.run(f"mv {link_to} {easy_dir}")
+ if os.path.isdir(easy_dir) and not os.path.exists(link_to):
+ print("Linking...")
+ c.run("ln -s {easy_dir} {link_to}")
+
+@task
+def status(c):
+ print(f"Minetest data is at {link_to}")
+ c.run(f"ls -al {link_to}/..")