[yast/yast-users] 16da45: Fix check for user home existence
Branch: refs/heads/y2users Home: https://github.com/yast/yast-users Commit: 16da455f6faa7c389309eee80e5fc839de732c8c https://github.com/yast/yast-users/commit/16da455f6faa7c389309eee80e5fc839de... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-11-03 (Wed, 03 Nov 2021) Changed paths: M src/lib/y2users/linux/users_writer.rb M test/lib/y2users/linux/users_writer_test.rb Log Message: ----------- Fix check for user home existence Using Yast::Execute.on_target! to ensure the check is done against right path in both, installation and running system. Commit: 91255f66a45026256658a09ec0a14faa7979138b https://github.com/yast/yast-users/commit/91255f66a45026256658a09ec0a14faa79... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-11-03 (Wed, 03 Nov 2021) Changed paths: M src/lib/y2users/linux/users_writer.rb M test/lib/y2users/linux/users_writer_test.rb Log Message: ----------- Use Yast::FileUtils::IsDirectory to check home existence Because it looks more like a use-case for the target agent than one for Yast::Execute. See https://github.com/yast/yast-users/pull/352#discussion_r741837909 Commit: 7d1b1a576553caecf47db5696578af13f6019ac6 https://github.com/yast/yast-users/commit/7d1b1a576553caecf47db5696578af13f6... Author: David Díaz <1691872+dgdavid@users.noreply.github.com> Date: 2021-11-03 (Wed, 03 Nov 2021) Changed paths: M src/lib/y2users/linux/users_writer.rb M test/lib/y2users/linux/users_writer_test.rb Log Message: ----------- Merge pull request #352 from yast/fix-home-check Fix check for user home existence Compare: https://github.com/yast/yast-users/compare/f6d4a583ee13...7d1b1a576553
participants (1)
-
David Díaz