#!/bin/bash
# ===============================================================
#
# PACKAGE MANAGER: PAMAC
# Manjaro
#
# included by ../check_packages2install
#
# ---------------------------------------------------------------
# ah <axel.hahn@iml.unibe.ch>
# 2022-06-03  v1.0  ah  first version
# ===============================================================

# ---------------------------------------------------------------
# command to list of updates
function pamacGetUpdates(){
    pamac checkupdates
}

# ---------------------------------------------------------------
# extract list of packages 2 install
# global  string  packagemanOut  output of update lister command
function pamacPackages(){
     echo "$packagemanOut" | grep -- '->'
}

# ---------------------------------------------------------------
