Skip to content

Commit e271d85

Browse files
authored
Use $real_pkgname for pip uninstall command
Fix voxpupuli#606
1 parent 7dd4543 commit e271d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/pip.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220

221221
default: {
222222
# Anti-action, uninstall.
223-
$command = "echo y | ${pip_env} uninstall ${uninstall_args} ${proxy_flag} ${name}"
223+
$command = "echo y | ${pip_env} uninstall ${uninstall_args} ${proxy_flag} ${real_pkgname}"
224224
$unless_command = "! ${pip_env} list | grep -i -e '${grep_regex}'"
225225
}
226226
}

0 commit comments

Comments
 (0)