build_emoji: Remove an unnecessary check for symlink support.

We already check for symlink support in provisioning script so no
need of doing so here.
This commit is contained in:
Harshit Bansal 2017-09-23 13:52:56 +00:00 committed by Tim Abbott
parent 6ff7da04de
commit 995a0f3cc0
1 changed files with 1 additions and 7 deletions

View File

@ -90,13 +90,7 @@ def main():
print("Using cached emojis from {}".format(source_emoji_dump))
run(['rm', '-rf', TARGET_EMOJI_DUMP])
try:
os.symlink(
source_emoji_dump,
TARGET_EMOJI_DUMP
)
except OSError:
print("Error: Unable to create symlinks. Make sure you have permission to create symbolic links.")
os.symlink(source_emoji_dump, TARGET_EMOJI_DUMP)
def get_success_stamp():
# type: () -> str