mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-06 19:08:27 +02:00
Merge pull request #458 from rbreaves/feature/manjaro-update
Feature/manjaro update
This commit is contained in:
@@ -209,6 +209,25 @@ sudo systemctl disable xkeysnail >/dev/null 2>&1
|
|||||||
sudo pkill -f bin/xkeysnail >/dev/null 2>&1
|
sudo pkill -f bin/xkeysnail >/dev/null 2>&1
|
||||||
sudo pkill -f "is-active xkeysnail" >/dev/null 2>&1
|
sudo pkill -f "is-active xkeysnail" >/dev/null 2>&1
|
||||||
|
|
||||||
|
if [ "$distro" == "manjarolinux" ]; then
|
||||||
|
while true; do
|
||||||
|
read -rep $'\nHave you run \"sudo pacman -Syu\" before running Kinto setup? (y/n): ' updated
|
||||||
|
case $updated in
|
||||||
|
[Yy]* ) mjupdated='yes'; break;;
|
||||||
|
[Nn]* ) mjupdated='no'; break;;
|
||||||
|
* ) echo -e "\nPlease answer [y]es or [n]o.";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
if [[ "$mjupdated" == "no" ]]; then
|
||||||
|
echo
|
||||||
|
echo "================================================================================"
|
||||||
|
echo "========== Please run a full system update before installing Kinto. =========="
|
||||||
|
echo "================================================================================"
|
||||||
|
echo
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Add additional shortcuts if needed, does not modify existing ones
|
# Add additional shortcuts if needed, does not modify existing ones
|
||||||
|
|
||||||
if [[ $dename == 'gnome' || $dename == 'budgie' ]];then
|
if [[ $dename == 'gnome' || $dename == 'budgie' ]];then
|
||||||
|
Reference in New Issue
Block a user