Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests. Version taken from the dpkg #5

Merged
merged 1 commit into from
Nov 14, 2016
Merged

Conversation

asan13
Copy link
Contributor

@asan13 asan13 commented Nov 10, 2016

  • Поменял в тесте perl на dpkg.
  • Плюс пофиксил недоработку с форматом версии, когда версия содержит епоху, типа Version: 1:6.6p1-2ubuntu2.8, т.е. вот так package (>= 6.6p1) теперь должно работать правильно.
  • На всякий случай добавил необязательный параметр в package_is_installed, сабу. Принимает системную версию пакета, возвращает строку для --compare-version.

@unera unera merged commit b8c9098 into dr-co:master Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants