Skip to content

Commit

Permalink
relax check
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Aug 2, 2023
1 parent a776f65 commit 555f502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function(method = c("auto", "virtualenv", "conda"),

msg <- "# Configured by the R function tensorflow::install_tensorflow()"

if(!all(c(msg, vars) %in% profile)) {
if(!all(c(vars) %in% profile)) {
profile <- c(profile, "", msg, vars, "")
writeLines(profile, "~/.profile")
message("- Updated file '~/.profile' with new environment variables.")
Expand Down

0 comments on commit 555f502

Please sign in to comment.