Author Topic: Pacli, shell script for pacman and yourt  (Read 21083 times)

0 Members and 1 Guest are viewing this topic.

Offline tropper

  • Vollwertiges Mitglied
  • ***
  • Posts: 130
  • Sorry my bad english
    • Manjaro Geek
  • Branch: testing
  • Desktop: ManjaroPek
  • GPU Card: SIS
  • GPU driver: SIS
  • Kernel: 3.18
  • Skill: Advanced
Re: Pacli, shell script for pacman and yourt
« Reply #15 on: 24. April 2015, 22:47:50 »
nice visual improvements. you have also included the "fixit" command.
i like it.

i have corrected some small things. nothing big.
pull request is pending...

you pull is merge, thanks man

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Pacli, shell script for pacman and yourt
« Reply #16 on: 09. May 2015, 02:07:45 »
hi mate @excalibur1234...

what does this command does?

Code: [Select]
pacman -Qet
i googled and did not find something satisfactory...

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #17 on: 09. May 2015, 02:30:54 »
it seems to list your installed packages, doesn't it? ;)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #18 on: 09. May 2015, 02:35:32 »
right: the arch wiki tells me that it lists the explicitly installed packages that are not needed by other dependencies 8-}
https://wiki.archlinux.de/title/Pacman
I'm afraid Google carried me to the German page, sorry! ;)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #19 on: 09. May 2015, 02:56:38 »
right: the arch wiki tells me that it lists the explicitly installed packages that are not needed by other dependencies 8-}
i agree.
it lists all packages (and their dependencies), which you have ever explicitly installed (using pacman or yaourt) and which are still on your system.
(this includes packages from the AUR.


this command came from tropper, i just documented it.
Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Pacli, shell script for pacman and yourt
« Reply #20 on: 10. May 2015, 15:27:27 »
@oberon2007 and @excalibur1234,
thank you for orientations. now i understand... ;)

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #21 on: 08. June 2015, 16:44:43 »
tropper, have you heard of yaourt-gui? it is very similar to pacli.

you can install it with
Code: [Select]
pacman -S yaourt-gui-manjaro

to start it, type "yaourt-gui" in your terminal.

here is the source code for it. i found it an interesting read:
Code: [Select]
#!/bin/bash
# Yaourt-Gui is a bash gui for yaourt
#
# Creation-Date: 2011-02-28
# Revision-Date: 2014-08-26
#
# Support: http://www.alexiobash.com

### Set ###
TEXTDOMAINDIR=/usr/share/locale
TEXTDOMAIN=yaourt-gui
VER=1.1
BLUE="\033[7;34m"
BLU="\033[1;34m"
RED="\033[1;31m"
LRED="\033[7;31m"
WHI="\033[1;37m"
NC="\033[0m"
YELLOW="\033[1;33m"
GREL="\033[7;32m"
GRE="\033[1;32m"
PROFD=/etc/profile.d
CONFIG=/usr/share/yaourt-gui
# export
export TEXTDOMAINDIR=/usr/share/locale
export TEXTDOMAIN=yaourt-gui

### Start Script ###
gost () {
if [ -f $PROFD/proxy.sh ]; then
source $PROFD/proxy.sh
fi
    clear
if [ -f $CONFIG/yglogo ]; then
$CONFIG/yglogo
    echo -e ""
else
    echo -e ""$RED"$CONFIG/yglogo $(gettext 'not found')!!!$NC"
fi
    echo -e "$GREL                  YAOURT-GUI $VER - A bash GUI for Yaourt                 $NC"
    echo -e ""
    echo -e "$(gettext '[1] Sync DB [9]  Search & Install [17] Set Proxy')"
    echo -e "$(gettext '[2] Update System [10] Belongs To Files [18] Remove Proxy')"
    echo -e "$(gettext '[3] Update force mode [11] Info Packages [19] Edit pacman.conf')"
    echo -e "$(gettext '[4] Install Packages [12] Clear Cache [20] Edit yaourtrc')"
    echo -e "$(gettext '[5] Remove Packages [13] PacDiffViewer      [L] Log Pacman')"
    echo -e "$(gettext '[6] Update Packages [14] Pacman DB Upgrade [H] Help yaourt-gui')"
    echo -e "$(gettext '[7] Remove Dependencies [15] Pacman Optimize    [Q] Quit')"
    echo -e "$(gettext '[8] Search Packages     [16] Yaourt Stats')"
    echo -e ""
    echo -e ""$YELLOW"$(gettext 'Run a Command or Number'):$NC"
  read opt
case $opt in

### SyncDB ###
1|"yaourt -Sy")
    echo -e "$GRE==> $(gettext 'DB Synchronization in progress...')$NC"
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -Sy $NC "
  yaourt -Sy
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

#### UpdateSystem ####
2|"yaourt -Syua")
    echo -e ""
    echo -e "$GRE==> $(gettext 'Update in progress.... !!!Please Wait!!!')$NC"
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -Syua $NC"
  yaourt -Syua
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

#### UpdateSystem Force mode ####
3|"yaourt -Syuaf")
    echo -e ""
    echo -e "$GRE==> $(gettext 'Update in progress.... !!!Please Wait!!!')$NC"
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -Syuaf $NC"
  yaourt -Syuaf
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### InstallPackages ###
4|"yaourt -S")
    echo -e "$GRE $(gettext 'Which packages do you want install?')$NC"
  read PKG
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -S $PKG $NC"
  yaourt -S $PKG
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### RemovePackages ###
5|"yaourt -R")
    echo -e "$GRE $(gettext 'Which Package do you want remove?')$NC"
  read PKR
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -R $PKR $NC"
  yaourt -R $PKR
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### UpdatePackages ###
6|"yaourt -U")
    echo -e "$GRE $(gettext 'Which packages do you want upgrade?') $NC"
  read PKAG
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -U $PKAG $NC"
  yaourt -U $PKAG
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### RemoveDependencies ###
7|"yaourt -Qdtq")
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -R "\$"(yaourt -Qdtq) $NC"
  yaourt -R $(yaourt -Qdtq)
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### Search Packages ###
8|"yaourt -Ss")
    echo -e "$GRE $(gettext 'Which packages do you want search?') $NC"
  read PKAGE
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -Ss $PKAGE $NC"
  yaourt -Ss $PKAGE
      echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### Search & Install ###
9|"yaourt")
    echo -e "$GRE $(gettext 'Which packages do you want search and install?') $NC"
  read PKAGE
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt $PKAGE $NC"
  yaourt $PKAGE
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### belong file ###
10|"yaourt -Qo")
    echo -e "$GRE $(gettext 'Which packages do you want search?') $NC"
  read PKAGE3
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -Qo $PKAGE3 $NC"
  yaourt -Qo $PKAGE3
      echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### InfoPackage ###
11|"yaourt -Qi")
    echo -e ""$GRE" $(gettext 'Which packages do you want search?')$NC"
  read PKS
  clear
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -Qi $PKS $NC"
    echo -e ""
  yaourt -Qi $PKS
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### ClearCache ###
12|"yaourt -Scc")
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -Scc $NC"
  yaourt -Scc
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### PacDiffViewer ###
13|"yaourt -C")
  clear
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt -C $NC"
    echo -e""
  yaourt -C
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### pacman-db-upgrade ###
14|"yaourt -C")
    echo -e "$YELLOW==> $(gettext 'COMMAND'): pacman-db-upgrade$NC"
    echo -e""
  sudo pacman-db-upgrade 
    echo -e ""$GRE"$(gettext 'Upgrade successfully')$NC"
sleep 3
gost
;;

### pacman-optimize ###
15|"yaourt -C")
  clear
    echo -e "$YELLOW==> $(gettext 'COMMAND'): pacman-optimize$NC"
    echo -e""
  sudo pacman-optimize 
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### Yaourt Statistic ###
16|"yaourt --stats")
  clear
    echo -e "$YELLOW==> $(gettext 'COMMAND'): yaourt --stats $NC"
    echo -e""
  yaourt --stats
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### SetProxy ### user:password@
17|"set proxy")
    echo -e "$GRE $(gettext 'Is a Auth Proxy? y/n [default yes]')$NC"
  read SNI
case $SNI in
$(gettext 'y')|"")
    echo -e ""
    echo -e "$YELLOW$(gettext 'Write Username')$NC"
  read USRNAME
    echo -e "$YELLOW$(gettext 'Write Password')$NC"
  read -es PASSWPR
    echo -e ""
    echo -e "$YELLOW$(gettext 'Write Ip or Hostname Proxy')$NC"
  read PROXY
    echo -e "$YELLOW$(gettext 'Write port Proxy')$NC"
  read PORT
    echo -e "#!/bin/bash" > /home/$USER/proxy.sh
    echo -e "export http_proxy='"http://$USRNAME:$PASSWPR@$PROXY:$PORT"'" >> /home/$USER/proxy.sh
    echo -e "export https_proxy='"http://$USRNAME:$PASSWPR@$PROXY:$PORT"'" >> /home/$USER/proxy.sh
    echo -e "export ftp_proxy='"http://$USRNAME:$PASSWPR@$PROXY:$PORT"'" >> /home/$USER/proxy.sh
  sudo mv /home/$USER/proxy.sh $PROFD
  sudo chmod +x $PROFD/proxy.sh
  sudo chown root:root $PROFD/proxy.sh
  source $PROFD/proxy.sh
if [ -f $PROFD/proxy.sh ];then
    echo -e ""
    echo -e "$GRE==> $(gettext 'Proxy set successfully')$NC"
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
else
    echo -e ""
    echo -e ""$RED"==> $(gettext 'The proxy is not set!!!!'):$NC"
    echo -e ""
  sleep 2
gost
fi
;;
# NO PROXY AUTH
n|N)
    echo -e ""
    echo -e "$YELLOW$(gettext 'Write Ip or Hostname Proxy')$NC"
  read PROXY
    echo -e "$YELLOW$(gettext 'Write port Proxy')$NC"
  read PORT
    echo -e "#!/bin/bash" > /home/$USER/proxy.sh
    echo -e "export http_proxy='"http://$PROXY:$PORT"'" >> /home/$USER/proxy.sh
    echo -e "export https_proxy='"http://$PROXY:$PORT"'" >> /home/$USER/proxy.sh
    echo -e "export ftp_proxy='"http://$PROXY:$PORT"'" >> /home/$USER/proxy.sh
  sudo mv /home/$USER/proxy.sh $PROFD
  sudo chmod +x $PROFD/proxy.sh
  sudo chown root:root $PROFD/proxy.sh
  source $PROFD/proxy.sh
if [ -f $PROFD/proxy.sh ];then
    echo -e ""
    echo -e "$GRE==> $(gettext 'Proxy set successfully')$NC"
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
else
    echo -e ""
    echo -e ""$RED"==> $(gettext 'The proxy is not set!!!!'):$NC"
    echo -e ""
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
fi
;;
*)
    echo -e ""
    echo -e ""$RED"$(gettext '!!!WARNING!!! Unknown command!!') $NC"
  sleep 1
gost
;;
esac
;;

### Remove Proxy ###
18|"remove proxy")
    echo -e "$GRE$(gettext 'Do you really want remove proxy? y/n  [default yes]')$NC"
  read SNE
case $SNE in
$(gettext 'y')|"")
  sudo rm -rf $PROFD/proxy.sh
    echo -e ""
    echo -e "$RED==> $(gettext '!!! Proxy Removed !!!') $NC"
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;
n|N)
gost
;;
*)
    echo -e ""
    echo -e ""$RED"$(gettext '!!!WARNING!!! Unknown command!!') $NC"
  sleep 1
gost
;;
esac
;;

### edit pacman.conf ###
19|"edit pacman.conf")
    echo -e ""$GRE"$(gettext 'Which programs do you want use?')$NC"
    echo -e ""$GRE"$(gettext 'Write'): [N]nano [V]vim $NC"
  read PROGRAM
case $PROGRAM in
N|n|nano)
  sudo nano /etc/pacman.conf
gost
;;
V|v|vi|VI|vim|VIM)
if [ -f /usr/bin/vim ]; then
  sudo vim /etc/pacman.conf
else
  sudo vi /etc/pacman.conf
fi
gost
;;
esac
gost
;;

### edit yaourtrc ###
20|"edit yaourtrc")
    echo -e ""$GRE"$(gettext 'Which programs do you want use?')$NC"
    echo -e ""$GRE"$(gettext 'Write'): [N]nano [V]vim $NC"
  read PROGRAM
case $PROGRAM in
N|n|nano)
  sudo nano /etc/yaourtrc
gost
;;
V|v|vi|VI|vim|VIM)
if [ -f /usr/bin/vim ]; then
  sudo vim /etc/yaourtrc
else
  sudo vi /etc/yaourtrc
fi
gost
;;
esac
gost
;;

### Log Pacman file ###
l|L|log|"log pacman")
    echo -e ""$GRE"$(gettext 'Which programs do you want use?')$NC"
    echo -e ""$GRE"$(gettext 'Write'): [M]more [C]cat [L]less]$NC"
  read PROGRAM
case $PROGRAM in
l|L|less)
clear
  sudo less /var/log/pacman.log
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;
m|M|more)
  sudo more /var/log/pacman.log
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;
c|C|cat)
  sudo cat /var/log/pacman.log
    echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;
esac
gost
;;

### Help ###
H|h)
  clear
    echo -e ""
    echo -e "$GREL !!!$(gettext 'GUIDE USE SCRIPT')!!! $NC"
    echo -e ""
      echo -e "$YELLOW==>$GRE [1]$NC "$(gettext 'To synchronize DB')""
      echo -e "$YELLOW==>$GRE [2]$NC "$(gettext 'To update the system')""
      echo -e "$YELLOW==>$GRE [3]$NC "$(gettext 'To update the system in force mode')""
      echo -e "$YELLOW==>$GRE [4]$NC "$(gettext 'To install a packages')""
      echo -e "$YELLOW==>$GRE [5]$NC "$(gettext 'To remove a packages')""
      echo -e "$YELLOW==>$GRE [6]$NC "$(gettext 'To update a packages')""
      echo -e "$YELLOW==>$GRE [7]$NC "$(gettext 'To remove unused dependencies')""
      echo -e "$YELLOW==>$GRE [8]$NC "$(gettext 'To search a packages')""
      echo -e "$YELLOW==>$GRE [9]$NC "$(gettext 'To search and install a packages')""
      echo -e "$YELLOW==>$GRE [10]$NC "$(gettext 'To view a file belonging')""
      echo -e "$YELLOW==>$GRE [11]$NC "$(gettext 'To query local database e info packages')""
      echo -e "$YELLOW==>$GRE [12]$NC "$(gettext 'To clean a cache')""
      echo -e "$YELLOW==>$GRE [13]$NC "$(gettext 'To Manage .pac* files')""
      echo -e "$YELLOW==>$GRE [14]$NC "$(gettext 'To run pacman-db-upgrade')""
    echo -e ""
    echo -e ""$GRE"==> $(gettext 'Press ENTER to continue')$NC"
  function pause(){
  read -p "$*"
}
  pause
clear
      echo -e ""
      echo -e "$YELLOW==>$GRE [15]$NC "$(gettext 'To optimize pacman')""
      echo -e "$YELLOW==>$GRE [16]$NC "$(gettext 'To see the statistic of yaourt')""
      echo -e "$YELLOW==>$GRE [17]$NC "$(gettext 'To set a proxy')""
      echo -e "$YELLOW==>$GRE [18]$NC "$(gettext 'To remove a proxy')""
      echo -e "$YELLOW==>$GRE [19]$NC "$(gettext 'To modify') /etc/pacman.conf""
      echo -e "$YELLOW==>$GRE [20]$NC "$(gettext 'To modify') /etc/yaourtrc""
      echo -e "$YELLOW==>$GRE [L]$NC "$(gettext 'To view a log file')": /var/log/pacman.log"   
      echo -e "$YELLOW==>$GRE [H]$NC "$(gettext 'To see this menu')""
      echo -e "$YELLOW==>$GRE [Q]$NC "$(gettext 'To exit the script')""
echo -e ""
    echo -e ""$GRE"$(gettext 'Press ENTER to display the Menu')$NC"
  function pause(){
  read -p "$*"
}
  pause
gost
;;

### Quit ###
Q|q|quit|exit)
    echo -e ""$GRE"$(gettext 'Do you really want exit? y/n [default yes]')$NC"
  read SNE
case $SNE in
$(gettext 'y')|"")
  clear
    echo -e "$GREL                  YAOURT-GUI $VER - A bash GUI for Yaourt                 $NC"
  exit
;;
n|N)
gost
;;
*)
    echo -e ""
    echo -e ""$RED"$(gettext '!!!WARNING!!! Unknown command!!') $NC"
  sleep 1
gost
;;
esac
;;

### error ###
*)
    echo -e ""
    echo -e ""$RED"$(gettext '!!!WARNING!!! Unknown command!!') $NC"
  sleep 1
gost
;;
esac
}
gost
### end script ###

Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #22 on: 13. October 2015, 20:26:18 »
holmes has changed (and updated?) something in the pacli script. look at his version here:
https://github.com/holmeslinux/Manjaro-JWM/blob/master/jwm-overlay/etc/skel/.pacli/pacli

in order to find the changes, i recommend to "diff" it.
unfortunately, i am not at a manjaro pc for a while, so i cannot do the "diff" myself...
Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Pacli, shell script for pacman and yourt
« Reply #23 on: 14. October 2015, 16:13:08 »
holmes has changed (and updated?) something in the pacli script. look at his version here:
https://github.com/holmeslinux/Manjaro-JWM/blob/master/jwm-overlay/etc/skel/.pacli/pacli

in order to find the changes, i recommend to "diff" it.
unfortunately, i am not at a manjaro pc for a while, so i cannot do the "diff" myself...

hello @excalibur1234, the changes were more visual and also was giving a error command not found.

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #24 on: 14. October 2015, 18:40:30 »
I also made some changes to the script, holmes version:
https://github.com/Chrysostomus/experimental/blob/master/pacli
I used pmenu in it, which allows you to select packages to be (un)installed in dmenu-like fashion. It really adds exgra layer of userfriendliness imho  :)

I plan on adding similar item to select packages to downgrade.

Offline eskaini

  • Security Team
  • *****
  • Posts: 10842
  • I eat deleted accounts
  • Skill: Novice
Re: Pacli, shell script for pacman and yourt
« Reply #25 on: 15. October 2015, 01:53:03 »
wow this looks good

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #26 on: 15. October 2015, 03:28:31 »
Anybody mind if I upload it to aur?

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #27 on: 20. October 2015, 22:05:28 »
Anybody mind if I upload it to aur?
well done.

i have seen you have modified pacli and added a "downgrade" option.
i really want to test this.

here is Chrysostomus' github address with the modified pacli:
https://github.com/Chrysostomus/pacli
Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline Chrysostomus

  • Maintainer
  • ***
  • Posts: 1634
  • Neckbeards are cool
    • Git
  • Branch: unstable
  • Desktop: Gnome, bspwm
  • GPU Card: Intel HD4000
  • GPU driver: free
  • Kernel: linux44-x64
  • Skill: Intermediate
Re: Pacli, shell script for pacman and yourt
« Reply #28 on: 21. October 2015, 05:16:45 »
If you wish to imprive it further, just submit a pullrequest and I'll be happy to merge it. Changes go straight to the aur package.

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: Pacli, shell script for pacman and yourt
« Reply #29 on: 23. October 2015, 00:52:28 »
hi @Chrysostomus, i have noticed an error:



21
1 and 22


correct

1 and 21

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es