Commit 75ad769f authored by PoroCYon's avatar PoroCYon
Browse files

fix MORE stuff

parent 4b3c58bc
......@@ -25,8 +25,7 @@ main() {
exit 1
fi
local PACKAGE_DIR=$(egrep -e "^$ESCAPED_PKG " -f "$SSPT_SRC_DB_FILE" \
| egrep -v -o -e "^[A-Za-z0-9_\-\.]* " | egrep -v -o -e " [A-Za-z0-9_\-\.]$")
local PACKAGE_DIR="$SSPT_DL_DIR/$ESCAPED_PKG"
command -v "$EDITOR" >/dev/null 2>&1 && "$EDITOR" "$PACKAGE_DIR/.sspt" && return
command -v "nano" >/dev/null 2>&1 && "nano" "$PACKAGE_DIR/.sspt" && return
......
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