We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b10991e commit 3f7e8d6Copy full SHA for 3f7e8d6
src/share/yang/modules/utils/reinstall.sh.in
@@ -106,7 +106,7 @@ export LD_LIBRARY_PATH="${LD_LIBRARY_PATH-}:${sysrepo}/lib:${sysrepo}/lib64"
106
# Check if module is installed.
107
is_module_installed() {
108
module=${1}
109
- if test "$("${sysrepo}/bin/sysrepoctl" -l | grep -F '| I' | cut -d ' ' -f 1 | tail -n +7 | head -n -1 | grep -Ec "^${module}")" -eq 0; then
+ if test "$("${sysrepo}/bin/sysrepoctl" -l | grep -F '| I' | cut -d ' ' -f 1 | grep -Ec "^${module}")" -eq 0; then
110
# not installed
111
return 1
112
fi
0 commit comments