Commit 5ae6a353 authored by PoroCYon's avatar PoroCYon
Browse files

*sigh*

parent 3f41747b
......@@ -21,7 +21,7 @@ update_package() {
before=$(cat "$SSPT_SRC_DB_FILE" | egrep "^$pkg " | egrep -v -o "^$epkg ")
fi
exec_subcommand pkgcmd pull "$pkg"
local after=$(exec_subcommand pkgcmd vesion "$pkg")
local after=$(exec_subcommand pkgcmd version "$pkg")
if [ "$before" != "$after" ]; then
exec_subcommand src-db reg "$pkg" "$after"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment