Skip to content

Commit

Permalink
Fixes Update Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekTBrown committed Nov 28, 2017
1 parent bbd8fdf commit bcd85b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pacmanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pacmanity_install(){

pacmanity_update(){
echo -e "\nUpdating package list backup on GitHub...";
if pacman -Qqen | gist -u "$GIST_ID"; then
if pacman -Qqen | gist -u "$GIST_ID" -f $HOSTNAME.pacman; then
echo -e "Success!\n";
else
echo -e "An error has occured.\nTry running sudo gist --login";
Expand Down
2 changes: 1 addition & 1 deletion src/pacmanity_aur.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pacmanity_aur_install(){

pacmanity_aur_update(){
echo -e "\nUpdating package list backup on GitHub...";
if pacman -Qqem | gist -u "$GIST_ID"; then
if pacman -Qqem | gist -u "$GIST_ID" -f $HOSTNAME.yaourt; then
echo -e "Success!\n";
else
echo -e "An error has occured.\nTry running sudo gist --login";
Expand Down

0 comments on commit bcd85b0

Please sign in to comment.