This is an experimental copy for testing Poikilos' issue mirroring system. Note that Gitea's migration tool can import issues, but the "Issues" checkbox is disabled when "This repository will be a mirror" is enabled (it is for this repo).
You can not select more than 25 topicsTopics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
#("Passing two --refresh or -y flags forces pacman to refresh
# all package lists even if they are considered to be up to
# date.")
print("")
input("press enter to close...")
exit(1)
importos
importshutil
importsys
fromwinclient.forwardfilesyncimport*
profile_path=None
if'HOME'inos.environ:# if os_name=="windows":
profile_path=os.environ['HOME']
else:
profile_path=os.environ['USERPROFILE']
ifnotos.path.isdir(profile_path):
print("")
print("Failed to get existing home path--tried HOME & USERPROFILE")
print("")
input("press enter to close")
exit(2)
USR_SHARE_MINETEST="/usr/share/games/minetest"
ifnotos.path.isdir(USR_SHARE_MINETEST):
ifos.path.isdir("/usr/local/share/minetest"):
#IF git version is installed:
USR_SHARE_MINETEST="/usr/local/share/minetest"
ifos.path.isdir("/usr/share/minetest"):
USR_SHARE_MINETEST="/usr/share/minetest"
ifnotos.path.isdir(USR_SHARE_MINETEST):
print("Minetest could not be found in any known location. Try installing minetest or compiling from source or editing value of USR_SHARE_MINETEST in this script. Script ended early.")