pecl.sh
Feature: - open PHP info page only if available update
This commit is contained in:
@@ -141,12 +141,14 @@ if [ -n "$test" ]; then
|
|||||||
notification "$notif2"
|
notification "$notif2"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
if [ -n "$available" ]; then
|
||||||
a=$(echo -e "Do you want to edit ${bold}$conf_php${reset} file ? (y/n)")
|
a=$(echo -e "Do you want to edit ${bold}$conf_php${reset} file ? (y/n)")
|
||||||
read -p "$a" choice
|
read -p "$a" choice
|
||||||
if [ "$choice" == "y" ]; then
|
if [ "$choice" == "y" ]; then
|
||||||
$EDITOR "$conf_php"
|
$EDITOR "$conf_php"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user