fix install script

This commit is contained in:
Riley Housden 2022-08-19 22:46:45 -04:00
parent 54c601d7ca
commit b6e5d2a2ec
Signed by: InValidFire
GPG key ID: 0D6208F6DF56B4D8

View file

@ -13,7 +13,6 @@ with Path("service.service").open("r") as fp:
text = fp.read() text = fp.read()
text = text.replace("$user$", user) text = text.replace("$user$", user)
text = text.replace("$root$", str(root)) text = text.replace("$root$", str(root))
text = text.replace("$ram$", str(ram))
$(cp service.service @(user).service) $(cp service.service @(user).service)
with Path(f"{user}.service").open("w+") as fp: with Path(f"{user}.service").open("w+") as fp:
fp.write(text) fp.write(text)