diff options
author | 2006-12-11 00:55:42 +0000 | |
---|---|---|
committer | 2006-12-11 00:55:42 +0000 | |
commit | d1dd5e0634c2a0e3e443100d85fc16acecb2b049 (patch) | |
tree | a3ff83b2205263096f581bde3bf49f836c241964 /docs | |
parent | adding proposed dyn_tags table. this is just an idea (diff) | |
download | scire-d1dd5e0634c2a0e3e443100d85fc16acecb2b049.tar.gz scire-d1dd5e0634c2a0e3e443100d85fc16acecb2b049.tar.bz2 scire-d1dd5e0634c2a0e3e443100d85fc16acecb2b049.zip |
dunno what changed here but it must be better than
it used to be!
svn path=/; revision=177
Diffstat (limited to 'docs')
-rw-r--r-- | docs/scire2.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/scire2.sql b/docs/scire2.sql index a37890d..0e7c3d8 100644 --- a/docs/scire2.sql +++ b/docs/scire2.sql @@ -6,10 +6,10 @@ INSERT INTO users (userid, username, password, email, phone, pager, real_name, c INSERT INTO permissions (permid, name, description, creator) values (1, 'Update Packages', 'This permission is to allow the upgrading of packages.', 1); INSERT INTO scripts (scriptid, name, description, location, script_data, log_location, success_code, run_as, priority, permission, pp_location, pp_script_data) values (100, 'Gentoo Update Script', 'This script will run emerge sync and emerge -u world, logging the results.', '', '#!/bin/bash \n emerge sync \n emerge -u world', '/var/log/scire/updatelog.txt', 0, 'root', 5, 1, '', ''); -INSERT INTO scripts (scriptid, name, description, location, script_data, log_location, success_code, run_as, priority, permission, pp_location, pp_script_data) values (101, 'Gentoo Install Package Script', 'This script will run emerge on a given package and log the results.', '', '#!/bin/bash \n emerge ', '/var/log/scire/installlog.txt', 0, 'root', 2, 1, '', ''); +INSERT INTO scripts (scriptid, name, description, location, script_data, log_location, success_code, run_as, priority, permission, pp_location, pp_script_data) values (101, 'Gentoo Install Package Script', 'This script will run emerge on a given package and log the results.', '', '#!/bin/bash \n emerge %%package%%', '/var/log/scire/installlog.txt', 0, 'root', 2, 1, '', ''); INSERT INTO scripts (scriptid, name, description, location, script_data, log_location, success_code, run_as, priority, permission, pp_location, pp_script_data) values (102, 'Gentoo Uninstall Package Script', 'This script will run emerge unmerge on a given package and log the results.', '', '#!/bin/bash \n emerge unmerge', '/var/log/scire/uninstalllog.txt', 0, 'root', 2, 1, '', ''); INSERT INTO scripts (scriptid, name, description, location, script_data, log_location, success_code, run_as, priority, permission, pp_location, pp_script_data) values (103, 'Gentoo Rollback Script', 'This script will roll back a given package to its previous version, logging the results.', '', '#!/bin/bash \n emerge -C && emerge ', '/var/log/scire/rollbacklog.txt', 0, 'root', 1, 1, '', ''); -INSERT INTO scripts (scriptid, name, description, location, script_data, log_location, success_code, run_as, priority, permission, pp_location, pp_script_data) values (104, 'Gentoo PackageList Script', 'This script will return a list of packages installed on the system and the current version of those packages.', '', '#!/bin/bash \n stuff here', '/var/log/scire/packagelistlog.txt', 0, 'nobody', 8, 1, '', ''); +INSERT INTO scripts (scriptid, name, description, location, script_data, log_location, success_code, run_as, priority, permission, pp_location, pp_script_data) values (104, 'Gentoo PackageList Script', 'This script will return a list of packages installed on the system and the current version of those packages.', '', '#!/bin/bash \n %%tag1%% %%tag2%%', '/var/log/scire/packagelistlog.txt', 0, 'nobody', 8, 1, '', ''); INSERT INTO os (osid, osname, update_script, install_script, uninstall_script, rollback_script, packagelist_script) values (1,'Gentoo Linux',100 ,101 ,102 ,103, 104 ); |