Appstream-dnf.sh (file size: 780 bytes, MIME type: application/x-bash)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.
- !/bin/bash
- Test script for appstreams, Magnus Glantz, mglantz@fedoraproject.org, 2019
echo "Enabling postgresql 11 app stream" dnf module enable postgresql:11 -y
echo "Looking for postgresql-server, version 11" if dnf info postgresql-server|grep Version|grep ": 11"; then
echo "Found."
else
echo "Error: Did not find postgresql-server version 11."
fi
echo "Disabling postgresql 11 app stream" dnf module disable postgresql -y
echo "Enabling postgresql 12 app stream" dnf module enable postgresql:12 -y
if dnf info postgresql-server|grep Version|grep ": 12"; then
echo "Found."
else
echo "Error: Did not find postgresql-server version 12."
fi
echo "Resetting environment. Disabling postgresql app stream." dnf module disable postgresql -y
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Dimensions | User | Comment | |
---|---|---|---|---|
current | 10:17, 18 November 2019 | (780 bytes) | Mglantz (talk | contribs) | Test script for appstreams |
You cannot overwrite this file.
File usage
There are no pages that use this file.