File: platforms_templates.py

package info (click to toggle)
google-android-installers 1472023576
  • links: PTS, VCS
  • area: contrib
  • in suites: stretch
  • size: 1,356 kB
  • ctags: 99
  • sloc: sh: 1,972; python: 722; makefile: 165
file content (5 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (4)
1
2
3
4
5
from shutil import copyfile

def generate(templates,api_level):
    copyfile("script/maintscript/google-android-platform-X-installer.templates.ex", templates)
    print ":... \033[0;34mGENERATED\033[0m google-android-platform-"+api_level+"-installer.templates"